Solved

Convert Asp.net application to ASP.net MVC Application?

Posted on 2010-11-23
4
814 Views
Last Modified: 2012-05-10
Hello,

I have asp.net application implemented in VS 2010.  This application have Login Functionality which uses the Windows Login ID and doing the LDAp authentication using Active Directory. This code is working fine.

Problem: How to convert the same application or functionality into ASP.net MVC Application. Please help me in regarding this.

I have attached the complete project. Please help me in converting the code to MVC?

Thanks
Copy-of-Login.zip
0
Comment
Question by:Saroj13
  • 2
  • 2
4 Comments
 
LVL 9

Expert Comment

by:abhinayp86
ID: 34199534
I would start by looking at this post on StackOverflow.
http://stackoverflow.com/questions/571315/how-would-you-sprinkle-in-asp-net-mvc-into-an-existing-web-site-project

There is also a blog post on how to setup by hand a ASP.NET project on Visual Studio,
http://michielvoo.net/blog/setting-up-a-minimal-asp-net-mvc-project-in-visual-studio/
that has a follow up (part II) on how to setup a ASP.NET MVC project.
http://michielvoo.net/blog/setting-up-a-minimal-asp-net-mvc-project-in-visual-studio-part-2/
0
 

Author Comment

by:Saroj13
ID: 34199584
Thanks I will look into it.

Is it possible to help me in changing the code.. I am new to MVc and I need it as soon as possible.

0
 

Author Comment

by:Saroj13
ID: 34207377
Hello,

I am new to asp.net MVC . I have implemented the login functionality using simple asp.net. I have attached the code. Would you please help in using the same functionality to asp.net mvc application

thanks
0
 
LVL 9

Accepted Solution

by:
abhinayp86 earned 500 total points
ID: 34261431
if u have vs 2010, create a new mvc asp.net application, and it will auto create login logout functionality pages.

btw having the code wont at all help u in case of ASP.NEt MVC, as ASP.NET MVC is difficult to understand at first, Totally different from asp.net (No pagelife cycle stuff), but lot easy to code after u know wat is wat.

If u really want to learn, u shud start from this video..


http://channel9.msdn.com/blogs/matthijs/aspnet-mvc-2-basics-introduction-by-scott-hanselman

Thanks,
ABhinay
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question