开发者

What part of web site to be WSP / WAP?

I'm new to ASP.NET, and would like an understanding of when/where to use WSP vs WAP.

I will make a rather simple business website, with 6-7 pages, where one pa开发者_开发百科ge will open a registration/login form where the user can see various personal data and reports, pulled from a database.

Would this suggest the use of a combination of WSP and WAP, where for example the login window is part of the WSP, and a successful login opens a WAP in a frame or in a new browser window/tab?


mmhh you are confused with the notion of web application and web site.

You cannot make one page in one way and another the other way, because WAP and WSP are type of project. So it is at the beginning of your project in visual studio to decide which one to use.

Basically, WSP is leaving the compilation of your code to IIS, and so you are working only with files. Using WAP, your project behaves like in a normal application, Visual studio will then compile your code to create different dll. You will then have only to move to your production environment the page aspx and the dlls, whereas with WSP, you would also include aspx.cs.

this link will tell you everything you might want to know

hope it helped,

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜