--

...

--

...

--

...

--

...

--

....

Wednesday, 20 June 2018

Introduction to ASP.NET


To create dynamic web pages. To create web pages on the fly. To create web sites or web applications.
Group of web pages is called web site. Every web page is of two types.
  1. Client side/static page
  2. Server side/dynamic page

Internet : Network of networks is called Internet. Largest network in the world is Internet. The Internet is operated using Web Sites. On Internet we have to place the web site, then only we can access from any where. First of all we have to purchase web space, register it on our name, provide user name and password to it, then create web site and place it on your web space.
To operate Internet we require the following :
  1. Computer
  2. Internet Connection (supplied by ISP)
  3. Telephone line
  4. Browser Software (Internet Explorer/Netscape Navigator/Opera/Neo planet/ Chrome/ Mozilla Firefox)
  5. Modem (Modulator / Demodulator-Dialup/Broadband, Internal/External)

ISP : Internet Service Provider (BSNL/MTNL/VSNL/RELIANCE/AIRTEL/TATAINDICOM/ AIRCEL/ HUTCH/ UNINOR/ IDEA/ VODAFONE)
Internet Connections :
  1. Dial-up
  2. ISDN (Integrated Subscriber Dialup Network)
  3. Broadband
  4. Cable modem
  5. Leased line

Accessing internet :
  1. Start Internet connection
  2. Start Internet Explorer, type the URL (Uniform Resource Locator) of the web site you like to see in address bar then press enter. URL Example :
For Example : 'http://www.rediffmail.com'
In the above example
  • HTTP stands for (Hypertext Transfer Protocol)
  • WWW stands for (World Wide Web)
  • rediffmail.com stands for domain name, .com is domain code.

Benefits of ASP.NET


It represents an exciting new platform for creating web sites with the .net framework, using any .net language. The benefits are,
Structure ASP.NET brings structure back into programming by offering a code-behind page, which separates the client-side script and HTML from the server-side code.
Layout control Using web forms in ASP.NET and positioning controls such as text boxes and buttons is easy, and VS.NET will create the appropriate HTML code for the target browser that is selected. For instance, to be compatible with most browsers, VS.NET will create tables, and nested tables to obtain the desired positioning of the controls. If the application only needs to be compatible with the latest version of Internet Explorer, then VS.NET will position the controls using DHTML.
Compiled Code ASP.NET solves the problem of running interpreted script by compiling the server-side code into IL (Intermediate Language). IL code is significantly faster than interpreted script.
Early binding ASP.NET also uses early binding when making calls to COM components, resulting in faster performance.
Security ASP.NET has an enhanced security infrastructure that can be quickly configured and programmed to authenticate and authorize Web site users.
Performance ASP.NET contains performance enhancements, such as page and data caching.
Diagnostics ASP.NET offers an enhanced tracing and debugging option, which will save time when you are ready to get the system running.
Session State ASP.NET has an improved session object. Session state can be configured to be shared among all servers in a web farm.
.NET Framework Since ASP.NET uses the .NET framework, ASP.NET also inherits the features of the .NET Framework, such as:
  • Automatic memory cleanup via garbage collection
  • Cross language inheritance
  • A large object-oriented base class library
  • The use of ADO.NET to access database
Web Services ASP.NET also provides the web service infrastructure. It is possible to create a web service with very few lines of code.

Friday, 8 June 2018

Creating ConnectionString by using 2-Tier and 3-Tire Architecture


Sunday, 3 June 2018

How to Find ConnectionString

From the Visual Studio Screen go to Server Explorer

From the Server Explorer Right Click on Data Connection and then Select Add Connection
Give the Server Name then Select Database and then Click on Advance Button
After that you will find the Connection String

Introduction to C# .NET

It  is  pure  object  oriented  programming  language.  Also  it  is  Event Driven Programming Language. It is case sensitive. ...