VISUAL STUDIO 2012 CREATING NEW ASP NET 4 WEB FORMS SITE USING VISUAL BASIC
VISUAL STUDIO 2012 CREATING NEW ASP NET 4 WEB FORMS SITE USING VISUAL BASIC (VB)
PREPARATION
Create a folder structure like C:\projects\vs12vb\WebForms1
If you haven't installed Visual Studio 2012 yet, follow this tutorial, http://setup-steps.blogspot.com/2014/01/visual-studio-2012-express-for-web.html
STEPS
1) Find the VS Express for Web Application startup link in the Start Menu.
Click the link.
2) Main application window shows up.
3) Select “New Web Site…”
4) New Web Site dialog window.
1. Select Visual Basic.
2. Select .NET Framework 4.
3. Select ASP.NET Web Forms Site
4. Select File System.
5. Type your project path e.g c:\projects\vs12vb\WebForms1\.
Click OK.
5) Project creation is done.
Notice that you get more stuff in your Solution Explorer Window.
6) Run your web site.
7) Debugging Not Enabled error dialog pops up.
Click OK.
8) The Web Browser automatically opens the localhost web page.
Notice that you get a sample working page.
9) Click the Login button.
10) Click Register.
11) Enter your desired credentials and click Register button.
12) You are now logged into the system.
Click the Home, About and Contact links above and observe the outcomes.
Click Log Off .
13) Notice the notification message below.
Follow this link to read further about it http://go.microsoft.com/fwlink/?LinkId=252803
14) In the Solution Explorer panel, find the Database Explorer tab.
Click the Database Explorer tab.
15) Expand the objects to view the tables.
16) Right-click the table “Users” and select Show Table Data.
The Main Panel shows the record that you have just entered in Step 11.
DISCUSSION
1) The Web Forms Site template is useful for the beginners to learn on how to develop a complete web site including the user management module.
2) The user management module keeps the data in an MS SQL database which is viewable via the Database Explorer.
---
No comments:
Post a Comment