Breezejs WebAPI OData vs Microsoft ASP.NET Web API OData [closed] - asp.net-mvc

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I started evaluating BreezeJS to use it with an ASP.NET WebAPI project. First I was happy to find a project that will expose my MVC data in a queryable way to OData and AJAX clients but then I run into a number of annoying things I don't know where to put, in terms of BreezeJS library architecture - strategic decision
BreezeJS does not provide a service document (with the top level collections)
Nor does it provide a standards based $metadata url
It has an OData like metadata service that is only compatible with the BreezeJS client (good point its JSON formatted)
The request/response JSON payload is not at all OData compliant
So all in all, the only client I could use to consume my MVC project was BreezeJS.js not even datajs.js, on a way that is similar to OData but is not OData (standards compliant clients will not recognize it - imho why do something that resembles a standards but it not complies it).
Now there is a Microsoft backed project called the Microsoft ASP.NET Web API OData package that does support all of the above mentioned scenarios but this is in alpha stage, albeit with a promising size of community buzz around it. I have tried it extensively and it worked like charm despite is early stage.
So the question is obvious: should I decide in the favor of BreezeJS (they claim to be in rc) and lose standard compliancy, or take the risk of the Microsoft project early stage and stay on track with OData?
My aim is to publish my MVC API to websites and mobile devices over AJAX.
UPDATE: I found that MS has updated its WebAPI OData project recently

Yeah, we had a similar experience, we wanted to access our data from Excel and IOS but with Breezejs it did not work so we changed to Microsoft package and it works just great.

Related

Developing a personal blog with MVC 4 from scratch [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to develop a personal blogging website using ASP.NET MVC 4.
I know that I could be using WordPress/ Joomla/ Orchard/ Umbraco/ Funnelweb, etc., instead of reinventing the wheel but I really wish to try it out myself.
I do not want my website to look like some beatle-aged archaic remain. I see plugins like Akismet/ Prettify/ Markdown/ nrelate that add amazing functionalities to your blog. But I am not really sure if I would be able to use any of these in my custom application as most of them are PHP based. I want to stick under the Microsoft roof and implement technologies like HTML5, CSS3 Silverlight5 and WCF 4.0, along with ASP.NET MVC 4. (At least thats what I plan to do)
I understand that I need to develop a scalable database design that could accomodate newer functionalities in the future. Additionally, the exorbitant focus on SEO and cross-browser capabilities is overwhelming. Permanent links for individual blogs, internal navigation, video-embedding inside posts, etc., sound like building Rome in a day
Please if you could guide me personally or direct me to appropriate resources, it would be very helpful.
I am sort of doing it right now on my own. It's not done yet but it will give you an idea: MvcBloggy.
Also, have a look at FunnelWeb source code. It's written in C# and uses ASP.NET MVC 3 I believe but it's a really good resource and easy to follow.

Looking for third party CMS to integrate with an MVC site [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking at the posibility of integrating a third party component into our MVC-based site. We have an MVC-based portal that is hosted in the cloud and need document handling and search features without taking the full job of implementing it from scratch.
Is there any other third party systems that are cloud compatible and provide an API for handling documents, security and full text search?
Orchard is a free, open source, community-focused project aimed at delivering applications and reusable components on the ASP.NET platform.
In the near term, the Orchard project is focused on delivering a
.NET-based CMS application that will allow users to rapidly create content-driven Websites, and an extensibility framework that will
allow developers and customizers to provide additional functionality
through module extensions and themes.
It is built using of ASP.NET MVC as a foundation
It can run in the cloud: http://docs.orchardproject.net/Documentation/Deploying-Orchard-to-Windows-Azure
It can do text search.
Check out Apache Solr. Solr adds some incredible support on top of Lucene (java). I know it seems as though you want a .net solution, however I will say that solr has a fantastic HTTP interface, so you can easily connect it via services.

Google Api OAuth2.0 and Aspnet MVC 3 [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I must have read just about everything available on the net for a decent example of using the Google API's in ASP.Net MVC 3 or for that matter any .net web server application.
Since google strongly advises using their client libraries for OAuth 2.0 I've spent the better part of the day reading the docs looking for a sample for .net web server application.
And I've found squat (except for a number of unanswered questions on SO and elsewhere).
The documentation for the WebServer applications
The documentation for the .net client library
What I want to do is allow authenticated users of my website to import contacts from google. ie use OAuth2.0 to access google contacts api.
So my questions are:
Should I even use the google client libraries for OAuth2.0 in my Asp.Net MVC 3 application.
Is there a decent sample I can use.
Can someone post a good sample.

Which CMS supports ASP.NET MVC [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am to develop a website for a IT company, I want to use ASP.NET MVC 3 to develop it I also want to use a CMS with it so that it is easy to change the content of the site, without having to go into the codes.
I want to use MVC 3 for this.
Can anyone help me in deciding which CMS should I go for ?
My requirement is to create a website for an IT company using ASP.NET MVC 3, and use a CMS with it so that content management becomes easy.
Any ideas / help / links / will be appreciated.
Update : Now Wordpress is also available with .NET
Warm Regards
There is no "plug-in" CMS that you can use in MVC. You would have to write it yourself.
There are, however, a number of CMS's that allow you to extend them via MVC. Orchard, for example is a popular one.
There is a big difference between an MVC site that has a CMS and a CMS that allows you to extend it with MVC. You should understand this distinction, and decide which way you want to go.
It sounds like you're looking for a solution like N2 CMS. It's an API that allows you to create a CMS programmatically.
http://n2cms.codeplex.com/
You can try to use MVC Easy CMS. It can be installed as NuGet package to the existing MVC 3.0 project.
You can plug Umbraco v5 into an existing MVC site or an existing MVC site into Umbraco v5. Umbraco v5 is a complete rewrite currently based on MVC3.
The open source DD4T project (Dynamic Delivery For Tridion) provides an MVC.NET front-end to SDL Tridion WCM-managed content.
Tridion is however quite expensive, so I'm not sure I should be even mentioning it...

MVC with SharePoint [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
We are looking to use the MVC Framework in our SP Application.
This is what we are trying to accomplish...
A virtual directory within the SPSite which can host and run MVC.
for e.g., /_layouts/MVC/
Any hints on the required configuration changes (if at all this is possible) will be very helpful.
This might be of interest to you
http://www.codeplex.com/SharePointMVC
I published it about 5 minutes ago.
It is basically a library to help rendering ASP.MVC inside a SharePoint masterpage.
Still early days but you get the idea.
You're going to have a hoot of a time de-inheriting everything (modules, handlers, assemblies, namespaces) in the MVC app's web.config. I would recommend that instead of trying to get MVC working inside of the same IIS web site, why not just run your app outside of SharePoint? Joel Oleson just blogged about using "widgets" or "web parts" as a form of SharePoint integration:
Joel Oleson
I have heard from the MS MVC team that there is no plans for Sharepoint to use MVC. However MVC can be used with Sharepoint with a few tweaks
The following sharepoint site, www.themedicinecabinet.co.uk, was built using ASP.net MVC 2.
This article explains how this was done
http://vspug.com/mbailey/files/2010/04/Using-ASP.NET-MVC-2-with-Sharepoint-Publishing.pdf
We've just released an opensource project that let's you use SharePoint 2010 as the backend of a site and use ASP.NET MVC3 on the frontend. We've been using the code base for the last two years and wanted to share it with the community since we're confident others would find it useful.
Documentation is still sparse - please feel free to reach out if you have any questions or need help.
http://www.slamcms.com
I would recommend running your virtual directory in it's own app pool. I'm leveraging MVC on some other Microsoft products and the app pool's Managed Pipeline Mode must = 'Integrated' for MVC.

Resources