ASP.net for Absolute Beginner

Category : Asp.Net

Getting Started with Visual Web Developer 2005 Express Edition

Creating a Web Forms User Interface

There are few ways to design layout

1. Spacebar and enter

2. Insert tavble

3. Layout>Auto-position – change to absolute so we can place it anywhere

4. Layout>Insert layer – so we can place on top of another

Tag selector at the bottom to assist us on editing.

Standard

Dropdownlist, learn how to use it. Radio button, how to group together, set the group name the same.Checkbox-popularly used to get yes or no answer.

Validation

Request field Validator. Compare Validator eg used in dropdownlist, false if selected onthe “Select One”. Validation Summary to display all error messages.

Layout- how to align, select all the controls, align left, align top etc. Horizontal spacing. Vertical Spacing equal.

PostBack – sent to the server. Event Handler for OK button. Auto Post Back.

Understanding More About Events and Postback

Postback or first time request. Global. Event handler eg button – control PostBack. Page_Load event, double click on the page – everytime the page is load it will give the default value. The default sequence will be pageload then event handler. To overturn we need to add some coding if then so it will execute the event handler first. Global.asax to set life of an application. We can create user counter.

Understanding Web Application State

How to save state. There are 3 ways shown here

1. ViewState – Works on single page (page_load)

2. Session – to show on multiple pages – using Global.asax

3. Profile object – we need to edit on the web.config. the item created as an object. This will help to reduce any possibility for error.

How to pass data between 2 pages? Hyperlink, Query String using Request Object. ~page2.aspx?myValue=Bob

Debugging and Tracing your Website

Debugging using breakpoint. by default it is enabled in Asp.net configuration. To enable tracing, go to Asp.net configuration>Application>Debugging & Tracing>Configure debugging and tracing. How to see what other are doing by displaying the tracing on a seperate page, browse to ~/trace.axd. Here we can see all the activities by the users.

How to pass lines into the trace? On the aspx page, insert this code Trace.Write(“This is the problem”). This will help us to to trace which line is causing problem.

How to create an error apage? Add new item; error.htm. Go to Asp.net Configuration>Application>debugging & Tracing>Define Default Error Page. Asp.net configuration is the user interface for web.config (hard-coded xml file). Any chages on the asp.net configuration will be reflected on the web.config file as well. we can also make changes directly on the web.config file.

Working with Stylesheets and Master Pages

Learn how to create CSS. Masterpages. Learn to use Navigation controls. Create new item, select web.sitemap (an xml page). Isert the pages url, title, description. Then on the aspx page, drag TreeView or Menu.

Databinding to User Interface Controls

Working with the GridView and FormView

Securing your Web site with Membership and Login Controls

Configuring, Building and Deploying a Web site

ASP.NET 2.0 Quiz Engine Project – Designing and Planning

Microsoft Solution Framework (MSF)

1.Envision your solution

2.Plan how you’ll build it

3.Develop the application

4.Testing and debugging

5.Deploying the solution.

Each repeat of these steps is an “iteration”.

Whre to store data? Database or XML (crackable). How will I save state between pages? Database-resources, Profile-use the permanent object or Session-memory of the session, good as asp.net improves it.

ASP.NET 2.0 Quiz Engine Project – Early Development

Create membership. Login and register for new user. Test quiz engine.

ASP.NET 2.0 Quiz Engine Project – Refining application Functionality

Refining Application functionality. Snapshot#4 Learn how to store the results in the database. How to deploy the results on default page when user logged in. retrieve history. Snapshot#5 quiz table, UserQuiz table.

ASP.NET 2.0 Quiz Engine Project – Enabling Themes, Handling Exceptions and Deploying

add themes and skins. theme works on page level. skin works on control level. themes choose and save on user profile. snapshot#7 enable the user to select theme. theme will be stored on user profile. profile under properties will be added on the web.config file. Snapshot#8 Cleaning and improving codes. Create error page. Deploying > Copy Web Site to remote, IIS, FTP.

LearnVisualStudio.Net Forum

Category : Asp.Net, Website Development

Just registered as a member and for a lifetime subscriber I get to ask and hopefully will get answered.

Just like anything else, when starting out new stuff, I need to have an overview about this whole forum structures and how it works. Then only I can maximize from it. Most of the time, the things that we want to ask, has already been asked by someone else. That’s always the case for me in life.

So I need to be patient, take it slowly and try to digest as fast as I could.

Now let’s get started!! let’s go through and see which forum category that fits with my current project.

Video Questions
Ask video related questions here.Please make sure to include the video file name so we know which video you are talking about.

ASP.NET

VB.NET 2.0 / 3.5
If you have any questions about ASP.NET using VB.NET 2.0, this is the place to post. Beginner and advanced questions are welcome here.

General ASP.NET Questions
If you have any general ASP.NET questions that may apply to any .NET language, then this is the place to post. Beginner and advanced questions are welcome.
Membership & Roles
If you have questions regarding membership and roles in ASP.NET 2.0, post them here.

General Web Development Questions
If you have any questions regarding HTML, XHTML, CSS, XML, or other general web development related issues, then this is the place to post them. Beginner and advanced questions are welcome here.

IIS Administration and Configuration
If you have any questions regarding how to configure IIS 5.x, IIS 6.0 and above, then this is the place to post. Beginner and advanced questions are welcome.

General .NET Questions

.NET Questions
If you have any questions about the .NET framework or other general “how do I do this in .NET” questions, then this is the place to post. Beginner and advanced questions are welcome here.

ADO.NET 2.0
If you have any questions about ADO.NET (Database access, DataSets, DataTables etc..), then this is the place to post. Beginner and advanced questions are welcome here.

General VB.NET 2.0 / 3.5
Have general quesitons about VB.NET? Post them here

Visual Studio

Visual Studio 2008
This forum is used to discussed items relevant to Visual Studio 2008′s functionality.

So these are the categories that I will focus on first. You don’t need to know everything. You just need to know what you need to know :)