Thursday, December 24, 2009
All Mobile Gprs Settings
Airtel Live
Profile Neme: Live
Homepage: http://live.airtelworld.com
Username: blank
Password: blank
APN: airtelfun.com
Proxy and Server Adress or IP: 100.1.200.99
Port: 8080
Data bearer - GPRS or Packet Data.
Authentication: normal
Airtel GPRS or Mobile Office
Profile Neme: mo
Homepage: http://google.com
Username: blank
Password: blank
APN: airtelgprs.com
Proxy and Server Adress or IP: 202.56.231.117
Port: 8080
Data bearer - GPRS or Packet Data.
Authentication: normal
IDEA
Profile Neme:Idea
Homepage: http://wap.ideafresh.com
Username: blank
Password: blank
APN: imis
Proxy and Server Adress or IP: 10.4.42.45
Port: 8080
Data bearer - GPRS or Packet Data.
Authentication: normal
Smart SMARTWAP:
* Account name : SMARTWAP
* Access point name: SMARTWAP
* Home page: http://wap.rworld.co.in/gsm/index.wml
* Wapgateway proxy IP address: 97.253.29.199
* Port: 8080
Smart SMATRNET:
* Account name: SMARTNET
* Access point name: SMARTNET
* Home page: http://www.google.co.in
* Wapgateway proxy IP address: 97.253.29.199
* Port: 8080
Smart MMS:
* Account name: RTLMMS
* Access point name:MMS
* Homepage: http://10.114.0.5/mms/
* Wapgateway IP: 10.114.0.13
* Port: 9401
Vodafone live Settings:
Account Name - Vodafone Live
User Name - leave Blank
Password - leave Blank
Proxy - Enabled/yes
Access Point Name - portalnmms
Proxy - Enabled/yes.
Proxy and Server address - 010.010.001.100
Proxy and Server Port - 9401 or 8080
Homepage - http://live.vodafone.in
Authentication Type - Normal
BSNL gprs Settings:
Account Name - bsnlwap
Username - leave blank
Password - leave blank
Proxy - Enabled/yes
Homepage - http://wap.cellone.in
Proxy and Server address - 010.132.194.196
Proxy and Server Port - 8080
Acces Point Name - wapnorth.cellone.in
Data bearer - GPRS/ Packetdata
Authentication Type - Normal
Need Aircel GPRS/Internet free Setting for Chinese Mobile:
Using Internet through Mobile:
* Account name: Aircel Online
* Home page: http://myaircel.com
* Access point name: aircelwap
* Wapgateway IP: 172.17.83.69
* Port: 8080
*Username - leave blank
*Password - leave blank
Using Internet through Mobile:
* Account name: Aircel Online
* Home page: http://www.google.com
* Access point name: aircelweb
* Wapgateway IP: leave blank
* Port: leave blank
*Username - leave blank
*Password - leave blank
Spice
* Account name: Spice wap
* Home page: http://wap.spicetele.com
*Dial up number: 6830
* Wapgateway IP: 10.200.200.3
* Port: 8080
* Carrier type: Data GSM
*Username - +91 followed by users no.
*Password - spice
BPL
Account Name - BPL WAP
1. Username - leave blank
2. Password - leave blank
3. Proxy - Enabled/yes
4. Homepage - http://wap.mizone.bplmobile.com
5. Proxy and Server address - 10.0.0.10
6. Proxy and Server Port - 8080
7. Acces Point Name - mizone
8. Data bearer - GPRS/ Packetdata
9. Authentication Type - Normal
Tata Docomo
Account Name - Tata Docomo Divein
1. Username - leave blank
2. Password - leave blank
3. Proxy - Enabled/yes
4. Homepage - http://divein.tatadocomo.com
5. Proxy and Server address - 010.124.094.007
6. Proxy and Server Port - 8080
7. Acces Point Name - TATA.DOCOMO.DIVE.IN
8. Data bearer - GPRS/ Packetdata
9. Authentication Type - Normal
Tuesday, November 24, 2009
Important New Concepts in WPF
LISTING 3.1 A Simple About Dialog in XAML FIGURE 3.1 The rendered dialog from Listing 3.1.Logical and Visual Trees
Title="About WPF Unleashed" SizeToContent="WidthAndHeight"
Background="OrangeRed">
product.
FIGURE 3.2 The logical tree for Listing 3.1.
Not all logical tree nodes appear in the visual tree; only the elements that derive from System.Windows.Media.Visual or System.Windows.Media.Visual3D are included. Other elements (and simple string content, as in Listing 3.1) are not included because they don't have inherent rendering behavior of their own.
Figure 3.3 illustrates the default visual tree for Listing 3.1 when running on Windows Vista with the Aero theme. This diagram exposes some inner components of the UI that are currently invisible, such as the ListBox's two ScrollBars and each Label's Border. It also reveals that Button, Label, and ListBoxItem are all comprised of the same elements, except Button uses an obscure ButtonChrome element rather than a Border. (These controls have other visual differences as the result of different default property values. For example, Button has a default Margin of 10 on all sides whereas Label has a default Margin of 0.)
TIP XamlPad contains a button in its toolbar that reveals the visual tree (and property values) for any XAML that it renders. It doesn't work when hosting a Window (as in Figure 3.1), but you can change the Window element to a Page (and remove the SizeToContent property) to take advantage of this functionality.
Because they enable you to peer inside the deep composition of WPF elements, visual trees can be surprisingly complex. Fortunately, although visual trees are an essential part of the WPF infrastructure, you often don't need to worry about them unless you're radically restyling controls (covered in Chapter 10, "Styles, Templates, Skins, and Themes") or doing low-level drawing (covered in Chapter 11, "2D Graphics"). Writing code that depends on a specific visual tree for a Button, for example, breaks one of WPF's core tenets—the separation of look and logic. When someone restyles a control like Button using the techniques described in Chapter 10, its entire visual tree is replaced with something that could be completely different.
WCF-Basic Concept
Basic WCF Concept and Terminologies
Windows Communication Foundation was official released with .NET 3.0 a couple of months ago. For those people who're doing connected, distributed systems or are in any way interested in communication aspects of systems, this ought to be a God-send. WCF basically rolled all the different Microsoft messaging formats into one, making it extremely easy to architect the communication layer of simple to complex applications. This tutorial aims to explain the basic concepts behind the common terminology used in WCF development and design.
Below is a quick overview of the WCF architecture
WCF Programs
WCF programs are basically divided into 3 different types of programs. They are common known as
- Clients
Clients are program that consumes the services, they are normally the ones that initiate the messenging to the service. Depending on the designed architecture of your application, it is possible that a service behaves as a client as well. - Services
Services are the programs that offers the services to the consumers. They are the ones that react and process the messages, similar to the backend of the application. They can be viewed as the equivalence of web services in .Net 2.0.
All services have to have endpoints specified in order to work. A good way to remember proper endpoint configurations is ABC. A being Address, B being Binding and C being Contracts.- Address
Address are the expose points of services. Services have to tell the world that where they are via addresses. - Bindings
Bindings will describe to the world on how they will communicate with the world. They contain information such as transport way, how they are encoded, are they reliable etc. - Contracts are of (but not necessary all have to be present) 3 different kinds
- Service Contract
Describes what the service does. - Data Contract
Define custom messaging structure. - Message Contract
Define the message format that is passed between services.
- Service Contract
- Address
- Intermediaries
Intermediaries are programs that act as "middle-man", their basic roles can be similar to providing a firewall, routing, gateway etc. They are commonly invisible to the client and services.
Messages
All services and clients communicate via messages, which are made up of one body, and one or more header. All WCF messages are XML formatted and transport neutral. In other words, you can specify different forms of transport (HTTP, MSMQ, Named Pipes etc) for different messages. Within each application, you can specify different messaging transport depending on the communication needs of the system. Basically, messages can be divided into
- Simplex
One way messaging. Simplex in short means "fire and forget" - Duplex
Asynchronous two-way messaging. In short this means that once fired, the application will carry on doing its own thing. Upon the return results, it will then handle it. - Request Reply
Synchronous 2 way messaging. This is the common communicate method whereby you'll fire a request, and wait for the response before continuing.
Channels
Before a client and service can talk to each other, they have to go through a channel. Imagine a channel as a pipe, with one end being the input message and the other end with the results of the message. There're different channels that can be stacked onto each other, they are commonly known as Channel Stacks. They can be of these different types:
- Reliable Sessions
- TCP Transport
- Binary Message Encoder
- Windows Security
- Request Reply
The way in which messages are sent through the pipe (Channel) is known as a Transport and they way at which they are encoded are known as Encodings. Transport can be made up of the following:
- HTTP
- TCP
- MSMQ
- Named Pipes
I hope this quick overview will be helpful for you.
Friday, October 16, 2009
Tuesday, August 4, 2009
After Triiger Note
SQL Server 2005 Audit Log Using Triggers
Once a database row has changed how do you retrieve the original data? There are many ways to do this, but for the application I'm working on I decided to use triggers.
Creating triggers in SQL Server 2005 is fairly easy. When you create a trigger you are presented with a template that you can modify to meet your needs. In the template there is a line that reads: SET NOCOUNT ON; with the explanation that tells you why: SET NOCOUNT ON added to prevent extra result sets from interfering with SELECT statements. it looks like this:
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON ;
When using triggers to update another table you need to leave this statement in or you will not be able to update your audit table, from triggers, and you will get the following error message:
The row value(s) updated or deleted either do not make the row unique or they alter multiple rows.
Here are the SQL Statements required to create a table, an audit table, and the triggers :
USE [db]
GO
CREATE TABLE [dbo].[table1](
[table1_id] [int] IDENTITY(1,1) NOT NULL,
[table1_date] [datetime] NULL CONSTRAINT [DF_table1_table1_date] DEFAULT (getdate()),
[table1_data] [varchar](50) NULL,
CONSTRAINT [PK_table1] PRIMARY KEY CLUSTERED
(
[table1_id] ASC
)WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[table1audit](
[table1audit_id] [int] IDENTITY(1,1) NOT NULL,
[table1audit_table1id] [int] NULL,
[table1audit_date] [datetime] NULL,
[table1audit_data] [varchar](50) NULL,
[table1audit_type] [varchar](50) NULL,
[table1audit_performed] [datetime] NULL CONSTRAINT [DF_table1audit_table1audit_date] DEFAULT (getdate()),
CONSTRAINT [PK_table1audit] PRIMARY KEY CLUSTERED
(
[table1audit_id] ASC
)WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
CREATE TRIGGER dbo.table1auditdelete
ON dbo.table1
AFTER DELETE
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
INSERT INTO table1audit(table1audit_table1id, table1audit_date, table1audit_data, table1audit_type)
SELECT table1_id, table1_date, table1_data, 'DELETE'
FROM deleted
END
GO
CREATE TRIGGER dbo.table1auditupdate
ON dbo.table1
AFTER UPDATE
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
INSERT INTO table1audit(table1audit_table1id, table1audit_date, table1audit_data, table1audit_type)
SELECT table1_id, table1_date, table1_data, 'UPDATE'
FROM inserted
END
GO
CREATE TRIGGER dbo.table1auditinsert
ON dbo.table1
AFTER INSERT
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
INSERT INTO table1audit(table1audit_table1id, table1audit_date, table1audit_data, table1audit_type)
SELECT table1_id, table1_date, table1_data, 'INSERT'
FROM inserted
END
GO
Tuesday, June 23, 2009
Networking-PrinterSharing in Win XP
Follow this step-by-step instructions to share printer in Windows XP.
1) Go to Start and click Control Panel. Control Panel Window will appear, then double click Printers and faxes.
2) Printers and Faxes window will appear. Right click the printer you want to share, then click Sharing…
Note: Make sure you've enabled File and Printer Sharing for Microsoft Networks on network card's properties.
3) Select Sharing tab and tick Share this printer to share the printer. You can type in a new name in the Share name text box to change your printer name on the network, however this will not change the printer name on your computer. Click Apply.
Note: If the other users using different version of Windows to access your printer, they will need to install printer driver themselves. You can help by installing additional printer drivers on your Windows XP, so that the printer driver will be installed when other users access the shared printer with different version of Windows. Click Additional Drivers, tick additional driver you would like to install. You will be prompted to install those additional drivers after clicking OK.
4) Once you have shared the printer, you will see there is a hand supporting your printer.
Thursday, February 5, 2009
ASPNET QUESTIONS
Asp.net Questions Posted by Bhaumik 3:19 PM 1 comments »
Que:- What is the sequence in which ASP.NET events are processed ?Ans:- Following is the sequence in which the events occur :-* Page_Init.* Page_Load.* Control events.* Page_Unload event.Page_init event only occurs when first time the page is started, but Page_Load occurs in subsequent request of the page.Que:- In which event are the controls fully loaded ?Ans:- Page_load event guarantees that all controls are fully loaded. Controls are also accessed in Page_Init events but you will see that viewstate is not fully loaded during this event.Que:- How can we identify that the Page is PostBack ?Ans:- Page object has a “IsPostBack” property which can be checked to know that is the page posted back.Que:-What is event bubbling ?Ans:- Server controls like Datagrid, DataList, Repeater can have other child controls inside them. Example DataGrid can have combo box inside datagrid. These child control do not raise there events by themselves, rather they pass the event to the container parent (which can be a datagrid, datalist, repeater), which passed to the page as “ItemCommand” event. As the child control send there events to parent this is termed as event bubbling.Que:- If we want to make sure that no one has tampered with ViewState, how do we ensure it?Ans:- Using the @Page directive EnableViewStateMac to True.Que:- What is AppSetting Section in “Web.Config” file?Ans:- Web.config file defines configuration for a webproject. Using “AppSetting” section we can define user defined values. Example below defined is ConnectionString” section which will be used through out the project for database connection.Que:- Where is ViewState information stored ?Ans:- In HTML Hidden Fields.Que:- How can we create custom controls in ASP.NET ?Ans:- User controls are created using .ASCX in ASP.NET. After .ASCX file is created you need to two things in order that the ASCX can be used in project:* Register the ASCX control in page using the .Example:-* Now to use the above accounting footer in page you can use the below directive.Que:- How many types of validation controls are provided by ASP.NET ?Ans:- There are six main types of validation controls :-1). RequiredFieldValidator :-It checks whether the control have any value. It's used when you want the control should not be empty.2). RangeValidator :- It checks if the value in validated control is in that specific range. ExampleTxtCustomerCode should not be more than eight length.3). CompareValidator:-It checks that the value in controls should match the value in other control. ExampleTextbox TxtPie should be equal to 3.14.4). RegularExpressionValidator:-When we want the control value should match with a specific regular expression.5). CustomValidator:-It is used to define UserDefined validation.6). ValidationSummary:-It displays summary of all current validation errors.Que:- Can you explain what is “AutoPostBack” feature in ASP.NET ?Ans:- If we want the control to automatically postback in case of any event, we will need to check this attribute as true. Example on a ComboBox change we need to send the event immediately to the server side then set the “AutoPostBack” attribute to true.Que:- How can you enable automatic paging in DataGrid ?Ans:- Following are the points to be done in order to enable paging in Datagrid :-* Set the “AllowPaging” to true.* In PageIndexChanged event set the current pageindex clicked.Que:-What is the difference between “Web.config” and “Machine.Config” ?Ans:- “Web.config” files apply settings to each web application, while Machine.config” file apply settings to all ASP.NET applications.Que:- What is the difference between Server.Transfer and response.Redirect ?Ans:- Following are the major differences between them:-* Response.Redirect sends message to the browser saying it to move to somedifferent page, while server.transfer does not send any message to the browserbut rather redirects the user directly from the server itself. So in server.transferthere is no round trip while response.redirect has a round trip and hence putsa load on server.* Using Server.Transfer you can not redirect to a different from the server itself.Example if your server is www.yahoo.com you can use server.transfer to moveto www.microsoft.com but yes you can move to www.yahoo.com/travels, i.e.within websites. This cross server redirect is possible only usingResponse.redirect.* With server.transfer you can preserve your information. It has a parametercalled as “preserveForm”. So the existing query string etc. will be able in thecalling page. In response.redirect you can maintain the state, but haslot of drawbacks.Que:- What is the difference between Authentication and authorization?Ans:- This can be a tricky question. These two concepts seem altogether similar but there is wide range of difference. Authentication is verifying the identity of a user and authorization is process where we check does this identity have access rights to the system. In short we can say the following authentication is the process of obtaining some sort of credentials from the users and using those credentials to verify the user’s identity. Authorization is the process of allowing an authenticated user access to resources. Authentication always proceed to Authorization; even if your application lets anonymous users connect and usethe application, it still authenticates them as being anonymous.Que:- What are the various ways of authentication techniques in ASP.NET?Ans:- Selecting an authentication provider is as simple as making an entry in the web.config file for the application. You can use one of these entries to select the corresponding built in authentication provider:* authentication mode=”windows”* authentication mode=”passport”* authentication mode=”forms”* Custom authentication where you might install an ISAPI filter in IIS thatcompares incoming requests to list of source IP addresses, and considersrequests to be authenticated if they come from an acceptable address. In thatcase, you would set the authentication mode to none to prevent any of the.net authentication providers from being triggered.Que:- How does authorization work in ASP.NET?Ans:- ASP.NET impersonation is controlled by entries in the applications web.config file. The default setting is “no impersonation”. You can explicitly specify that ASP.NET shouldn’t use impersonation by including the following code in the fileIt means that ASP.NET will not perform any authentication and runs with its ownprivileges. By default ASP.NET runs as an unprivileged account named ASPNET. Youcan change this by making a setting in the processModel section of the machine.configfile. When you make this setting, it automatically applies to every site on the server. To user a high-privileged system account instead of a low-privileged set the userNameattribute of the processModel element to SYSTEM. Using this setting is a definite security risk, as it elevates the privileges of the ASP.NET process to a point where it can do bad things to the operating system.Que:- What’s difference between Datagrid, Datalist and repeater ?Ans:- A Datagrid, Datalist and Repeater are all ASP.NET data Web controls.They have many things in common like DataSource Property, DataBind MethodItemDataBound and ItemCreated.When you assign the DataSource Property of a Datagrid to a DataSet then each DataRowpresent in the DataRow Collection of DataTable is assigned to a correspondingDataGridItem and this is same for the rest of the two controls also. But The HTML code generated for a Datagrid has an HTML TABLE element created for the particular DataRow and its a Table form representation with Columns and Rows.For a Datalist its an Array of Rows and based on the Template Selected and theRepeatColumn Property value We can specify how many DataSource records shouldappear per HTML table row. In short in datagrid we have one record per row, but indatalist we can have five or six rows per row.For a Repeater Control, the Datarecords to be displayed depends upon the Templatesspecified and the only HTML generated is the due to the Templates.In addition to these, Datagrid has a in-built support for Sort, Filter and paging the Data,which is not possible when using a DataList and for a Repeater Control we would require to write an explicit code to do paging.Que:- From performance point of view how do they rate ?Ans:- Repeater is fastest followed by Datalist and finally datagrid.Que:- What is the method to customize columns in DataGrid?Ans:- Use the template column.Que:- How can we format data inside DataGrid?Ans:- Use the DataFormatString property.Que:- How to decide on the design consideration to take a Datagrid, datalist or repeater ?Ans:- Many make a blind choice of choosing datagrid directly, but that's not the right way.Datagrid provides ability to allow the end-user to sort, page, and edit its data. But it comes at a cost of speed. Second the display format is simple that is in row and columns.Real life scenarios can be more demanding that With its templates, the DataList provides more control over the look and feel of the displayed data than the DataGrid. It offers better performance than datagrid Repeater control allows for complete and total control. With the Repeater, the only HTML emitted are the values of the databinding statements in the templates along with the HTML markup specified in the templates—no "extra" HTML is emitted, as with the DataGrid and DataList. By requiring the developer to specify the complete generated HTML markup, the Repeater often requires the longest development time. But repeater does not provide editing features like datagrid so everything has to be coded by programmer. However, the Repeater does boast the best performance of the three data Web controls.Repeater is fastest followed by Datalist and finally datagrid.Que:- Difference between ASP and ASP.NET?Ans:- ASP.NET new feature supports are as follows :-Better Language Support* New ADO.NET Concepts have been implemented.ASP.NET supports full language (C#, VB.NET, C++) and not simple scriptinglike VBSCRIPT..Better controls than ASP* ASP.NET covers large set’s of HTML controls..* Better Display grid like Datagrid, Repeater and datalist.Many of the displaygrids have paging support.Controls have events support* All ASP.NET controls support events.* Load, Click and Change events handled by code makes coding much simpler and much better organized.Compiled CodeThe first request for an ASP.NET page on the server will compile the ASP.NET code andkeep a cached copy in memory. The result of this is greatly increased performance.Better Authentication SupportASP.NET supports forms-based user authentication, including cookie management andautomatic redirecting of unauthorized logins. (You can still do your custom login page and custom user checking).User Accounts and RolesASP.NET allows for user accounts and roles, to give each user (with a given role) access to different server code and executables.High Scalability* Much has been done with ASP.NET to provide greater scalability.* Server to server communication has been greatly enhanced, making it possibleto scale an application over several servers. One example of this is the abilityto run XML parsers, XSL transformations and even resource hungry session objects on other servers.Easy ConfigurationConfiguration of ASP.NET is done with plain text files.* Configuration files can be uploaded or changed while the application is running.No need to restart the server. No more metabase or registry puzzle.Easy DeploymentNo more server restart to deploy or replace compiled code. ASP.NET simply redirects all new requests to the new code.Que:- What are major events in GLOBAL.ASAX file ?Ans:- The Global.asax file, which is derived from the HttpApplication class, maintains a poolof HttpApplication objects, and assigns them to applications as needed. The Global.asaxfile contains the following events:Application_Init: Fired when an application initializes or is first called. It is invoked forall HttpApplication object instances.Application_Disposed: Fired just before an application is destroyed. This is the ideallocation for cleaning up previously used resources.Application_Error: Fired when an unhandled exception is encountered within theapplication.Application_Start: Fired when the first instance of the HttpApplication class is created.It allows you to create objects that are accessible by all HttpApplication instances.Application_End: Fired when the last instance of an HttpApplication class is destroyed.It is fired only once during an application's lifetime.Application_BeginRequest: Fired when an application request is received. It is the firstevent fired for a request, which is often a page request (URL) that a user enters.Application_EndRequest: The last event fired for an application request.Application_PreRequestHandlerExecute: Fired before the ASP.NET page frameworkbegins executing an event handler like a page or Web service.Application_PostRequestHandlerExecute: Fired when the ASP.NET page framework has finished executing an event handlerApplcation_PreSendRequestHeaders: Fired before the ASP.NET page framework sendsHTTP headers to a requesting client (browser).Application_UpdateRequestCache: Fired when the ASP.NET page framework completeshandler execution to allow caching modules to store responses to be used to handlesubsequent requests.Application_AuthenticateRequest: Fired when the security module has established thecurrent user's identity as valid. At this point, the user's credentials have been validated.Application_AuthorizeRequest: Fired when the security module has verified that a usercan access resources.Session_Start: Fired when a new user visits the application Web site.Session_End: Fired when a user's session times out, ends, or they leave the applicationWeb site.Que:- What order they are triggered ?Ans:- They're triggered in the following order:* Application_BeginRequest* Application_AuthenticateRequest* Application_AuthorizeRequest* Application_ResolveRequestCache* Application_AcquireRequestState* Application_PreRequestHandlerExecute* Application_PreSendRequestHeaders* Application_PreSendRequestContent<>* Application_PostRequestHandlerExecute* Application_ReleaseRequestState* Application_UpdateRequestCache* Application_EndRequest.Que:- How can we force all the validation control to run ?Ans:- Page.ValidateQue:- How can we check if all the validation control are valid and proper ?Ans:- Using the Page.IsValid() property you can check whether all the validation are done.Que:- Which JavaScript file is referenced for validating the validators at the client side ?Ans:- WebUIValidation.js javascript file installed at “aspnet_client” root IIS directory is usedto validate the validation controls at the client sideQue:- What is Tracing in ASP.NET ?Ans:- Tracing allows us to view how the code was executed in detail.Que:- How do we enable tracing ?Ans:- Que:- How can we kill a user session ?Ans:- Session.abandonQue:- How do I send email message from ASP.NET ?ANs:- ASP.NET provides two namespaces System.WEB.mailmessage classandSystem.Web.Mail.Smtpmail class. Just a small homework create a Asp.NET project andsend a email at "Email Adress". Do not Spam.Que:- Explain the differences between Server-side and Client-side code?Ans:- Server side code is executed at the server side on IIS in ASP.NET framework, whileclient side code is executed on the browser.
