Learning MVC 5, Which authentication framework to use these days? [closed] - asp.net

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
We are converting a major.NET 2.0 project to MVC, we were learning MVC 4 and since MVC 5 is already out, we figured we might as well move straight to MVC 5 since it offers attribute based routing out of the box and .NET 4.5 seems like the platform to develop some chat features we were thinking about using SignalR.
The confusing part for us now is that there are so much information since .NET 2.0 regarding say membership
From research, we saw
Simple Membership
Universal Membership
Identify Membership (1.0, and then 2.x?? what?)
So boils down to one simple question, is ASP.NET Identity THE thing to learn regarding membership when we redesign the app in MVC 5? Simpler Membership / Universal, we can just completely ignore them right?
Sorry all, I'm just really late to the MVC game and I'm trying to catch up. A bit (actually completely) overwhelmed by different articles all talking about different things.
Thanks.

Take a step back and realize what all these "solutions" are doing. They are helping you create an identity in ASP.NET and help manage cookies on the client. When you think about it that way you will realize that you need very little to build a good authentication scheme. I always leverage what is in ASP.NET in regards to principal and cookie management, but ignore the database stuff and just implement it myself.
I wrote this post that I hope will help you. You will realize there really isn't much too authentication.
http://www.khalidabuhakmeh.com/asp-net-mvc-5-authentication-breakdown-part-deux
This article was recently listed on the asp.net community site. :)

Related

viability of ASP.NET Web API [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm porting three of my WP7 apps, that use my WCF SOAP Services to Android (so I can make some money for a change). They don't like SOAP over there so I need to make a duplicate version of my WCF service methods to Restful services.
I created a simple working test service some months ago using the WCF REST Service Template 40(CS) template so that's one choice. However I see a lot on the web about ASP.NET Web API using MVC 4.
My question is: Is this fully cooked and going to grow and prosper or is Microsoft going to get me all involved in this and then drop it like a hot potato after I've got a year in it.
I would choose whatever got the job done that was supportable while being the least effort to implement. If I was on a level playing field I would run with the WebAPI mainly because it is very, very smooth. I would also version my API using versioned urls or content negotiation to insulate myself.
I can't speak for Microsoft, but in general they stand behind anything they have released as a fully supported product for quite some time. I'd expect the WebAPI to be supported at least as long as the platform. I don't see Microsoft dropping .NET support anytime soon and I would expect to see .NET 4.0 supported for the foreseeable future.

what is the significance of asp.net webpart controls in today applications? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
what is the significance of asp.net webpart controls in today applications?
Where in we have AJAX,JQuery, MVC Controls are being used in today application.Does Webpart Controls still being used? Need to now know more detail in this regard.
Webparts are still quite significant in the Sharepoint/intranet world. However outside of sharepoint I've not seen a lot of development take place around this particular piece of ASP.net.
Non-sharepoint/intranet applications, especially those applications that are public facing would do much better using AJAX/jquery and more open and widely used technologies. This is of course my opinion. But webparts are a little "heavy" for sites/applications that have to keep the general public in mind.
One significance of WebParts is, that it isn't implemented in mono, meaning you can't port your code to non-windows platforms if you use them. Apart from that, now that ASP.NET finally has a MVC framework, I wouldn't use anything with a postback architecture.

Python Django vs ASP.NET MVC [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am fairly new at web development scene, and I was wondering if you can help me break up the pros and cons of using python django vs asp.net mvc besides the maturity level of its framework.
I have intermediate experience with Java. As of right now, I am leaning towards Python, but I just wanted to make sure, I am making the right choice. I find myself limited with books available on asp.net web developments. I am aware that there is the storefront example on the official asp.net site. However, that tutorial was a little hard for me to follow. I've done a research around and was hoping python could be my next available choice. There are more tutorials available online for Python anyways.
What do you think?
It always make sens to do some research regarding technologies trends and professionals demand, you can do this by using Google tools, such as Google Trends
It will save you time and help you to choose right direction. See more details about technology research here. Happy coding!
ASP.NET MVC is pretty cool if you already know C# and/or ASP... but if you're starting from scratch, Django is (IMO) a better bet. You probably have more hosting options for Django, for one thing.

What are some good resources for the Web Forms MVP project? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I've seen a little buzz on the open-source ASP.NET Web Forms MVP project, but where can I get resources?
http://webformsmvp.com is pretty much stubbed out for now. This appears to be a compelling refresh of the Web Forms paradigm and bring into the fold things that make ASP.NET MVC great. I hear it's going to be put out there at MIX10 this week, but anyone have any useful sites/references?
Tatham Oddie, one of the WebForms MVP developers, was on Scott Hanselman's podcast not too long ago. You can find that episode here: A different way to do ASP.NET WebForms with WebFormsMVP. A PDF transcript is available there if you don't have time to listen to it.
Tatham's blog is at http://blog.tatham.oddie.com.au/ and his most recent post mentions the podcast and that they were quite about the project till now. The wiki page on the project's site that you linked to mentions the MIX 10 announcement.
You can find the video and slides of Tatham's and Damian's MIX10 session here (they do mention WebForms MVP near the end of the slides): Building Great Standards-Based Websites for the Big Wide World with Microsoft ASP.NET 4.
Apart from that, and the project's wiki page, I don't think there are any other resources. They suggest downloading the project demo to get familiar with it till documentation is available.
I am also not aware of this project - domain was registered long ago it seems but if you google for it there are not many results.
If you want to use MVP I can highly recommend you the following article by Billy McCafferty:
http://www.codeproject.com/KB/architecture/ModelViewPresenter.aspx
Maybe you mix it up with what is extracted now from the ASP.NET MVC framework that goes into the "classic" ASP.NET - e.g. URL Routing functionality which you can read up there:
http://weblogs.asp.net/scottgu/archive/2009/10/13/url-routing-with-asp-net-4-web-forms-vs-2010-and-net-4-0-series.aspx
Maybe this helps but I have not heard about any MVP project - and the one linked in your questions seems to have no relation to Microsoft (if you look it up on nic.com)

Is There a Good CMS to Use with ASP.Net MVC [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have a small site I developed for a friend that uses ASP.Net MVC and was wondering if I could hook it up to dotnetnuke or another CMS. Or is doing an admin site using dynamic data?
Here is a list of a few ASP.NET MVC based CMS's. However these are not based on the current release candidate but I think they are a pretty good start.
N2 Open Source ASP.NET CMS
http://n2cms.com/
Oxite
http://www.visitmix.com/Lab/Oxite
Hydrogen CMS
http://www.hydrogencms.net/Home.aspx
Take a look to Kooboo (kooboo.com). A simple to use and flexible CMS based upon ASP.NET MVC.
I wish there was a good CMS in MVC. However MVC isn't even RTM yet!
The thing with current .NET CMSs are that they don't handle URLs very well.
I'm hoping a CMS built on MVC will pop up at some point.
Try Composite C1. I have developed a few MVC modules for this. The good thing is that you can have both MVC and Web Form modules working side by side in this CMS.
Take a look at OpenSourceCms.com, they might have what you're looking for or the demos there might at least help lead you to an answer.
Oxite might be the closest to what you are after at the moment although I think it is more of a blog engine.
In my opinion, the only decent CMS is the one you write yourself. Just the features you want, with no inactive sections, but if you want to have a solid base to start with, try MVCwCMS (Please note I'm the author).

Resources