Link to home
Create AccountLog in
Avatar of MrStevenWin
MrStevenWin

asked on

Web Development

I would like to develop a web application very quickly..

For basic data entry forms i use "ASP .Net Dynamic Data Entities" project to generate entry forms using VS 2013 Express.

But for Login and other advanced business logic, I create another project using "ASP.Net Web Form Application".

Then I publish them and put in a website. But the site can't handle properly..
eg. The Login Page is not redirected when I browse manually an entry page generated from "ASP .Net Dynamic Data Entities".

Is it because I wrongly configured in IIS ?
Is there any better way to solve the requirement above. Basically I would like to develop it fast but at the same time would like to have a complete control over it.
Avatar of Peter Hart
Peter Hart
Flag of United Kingdom of Great Britain and Northern Ireland image

no its not IIS.
you need to add ASP.NET Identity support to your existing Web Forms project to secure those forms.

Microsoft link here explains what code you have to change in the forms.

http://www.asp.net/identity/overview/getting-started/adding-aspnet-identity-to-an-empty-or-existing-web-forms-project
Avatar of MrStevenWin
MrStevenWin

ASKER

Actually, my requirement is as follows.. I found someone asked the same question in  (http://stackoverflow.com/questions/14994646/combination-of-dynamic-data-entities-web-application-template-and-asp-net-web-fo)

I would like to create a website using the template project: "Dynamic Data Entities Web Application"

But I would also like to have a login page such as provided by the template project:
"Asp.Net Web Forms Application"

Basically, I created both projects and put it under a solution. Then I published both of them and manually combined as one website to be hosted in IIS. But, not quite work well.
Links in dynamic data entities pages are broken in the site. Login page from Web Form project also can't cover all pages in the site as well..

I'm looking for a better and reliable way for above requirement..
ASKER CERTIFIED SOLUTION
Avatar of Peter Hart
Peter Hart
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
I assume LighSwitch as an option for the issue as well.