Change the permission set for a code group?


How do I change the permission set for a code group? Can i??????

Yes u can, use caspol. If you are the machine administrator, you can operate at the ‘machine’ level – which means not only that the changes you make become the default for the machine, but also that users cannot change the permissions to be more permissive. If you are a normal (non-admin) user you can still modify the permissions, but only to make them more restrictive.

Note that because this is more permissive than the default policy (on a standard system), you should only do this at the machine level – doing it at the user level will have no effect

A private assembly and a shared assembly


Can anyone explain what is the difference between a private assembly and a shared assembly?

Yes sure , Location and visibility: A private assembly is normally used by a single application, and is stored in the application’s directory, or a sub-directory beneath. A shared assembly is normally stored in the global assembly cache, which is a repository of assemblies maintained by the .NET runtime. Shared assemblies are usually libraries of code which many applications will find useful, e.g. the .NET framework classes.
Versioning: The runtime enforces versioning constraints only on shared assemblies, not on private assemblies.

Satellite Assemblies


What are Satellite Assemblies?

Satellite assemblies are often used to deploy language-specific resources for an application. These language-specific assemblies work in side-by-side execution because the application has a separate product ID for each language and installs satellite assemblies in a language-specific subdirectory for each language. When uninstalling, the application removes only the satellite assemblies associated with a given language and .NET Framework version. No core .NET Framework files are removed unless the last language for that .NET Framework version is being removed.

Cookieless Session


What is cookie less session? How it works?

By default, ASP.NET will store the session state in the same process that processes the request, just as ASP does. If cookies are not available, a session can be tracked by adding a session identifier to the URL. This can be enabled by setting the following:
<sessionState cookieless=”true” />

What is smart navigation?


Can anybody tell me what is smart navigation?

Yes sure , When a page is requested by an Internet Explorer 5 browser, or later, smart navigation enhances the user’s experience of the page by performing the following:
• eliminating the flash caused by navigation.
• persisting the scroll position when moving from page to page.
• persisting element focus between navigations.
• retaining only the last page state in the browser’s history.

Protect webservice


How you will protect / secure a web service?

For the most part, things that you do to secure a Web site can be used to secure a Web Service. If you need to encrypt the data exchange, you use Secure Sockets Layer (SSL) or a Virtual Private Network to keep the bits secure. For authentication, use HTTP Basic or Digest authentication with Microsoft® Windows® integration to figure out who the caller is.
these items cannot:
•Parse a SOAP request for valid values
•Authenticate access at the Web Method level (they can authenticate at the Web Service level)
•Stop reading a request as soon as it is recognized as invalid

Remoting


What is Remoting? Can anyone explain!!!!!!!!!!!!!!!

Yes sure, the process of communication between different operating system processes, regardless of whether they are on the same computer. The .NET remoting system is an architecture designed to simplify communication between objects living in different application domains, whether on the same computer or not, and between different contexts, whether in the same application domain or not.

Multiple Errors From Chnaging Web.Config File With New Ajax File


Hi

Well basically, I want to use the features of ajax in an existing asp.net web application, but when I insert the new web.config file into my web.config file. I get around 31 messages and several warnings such as

the ‘RequiredPermission’ attribute is not declared

the ‘RequiredPermission’ attribute is not declared

Message 30 Could not find schema information for the element ‘add’.

Message 10 Could not find schema information for the element ‘modules’.

Message 30 Could not find schema information for the element ‘add’.

Message 6 Could not find schema information for the element ‘scripting’.

etc etc, any ideas?

hi,
First, Try to reinstall the AjAX EXTENSTION on your machine again.

Second: If it not works too, you can try this following steps to solve this problem:

The warnings are caused by a line in web.config:

<configuration xmlns=”http://schemas.microsoft.com/.NetConfiguration/v2.0″&gt;

Remove the xmlns part so it is:

<configuration>

Uploading contents on internet


I have created pages in asp.net and used backend SQL Server 2000. i want to upload all asp.net contents and sql server 2000 database to internet.

i dont have an idea. i have not yet deployed the contents, deploying contents is must or we can just upload all file. pleaseeeeeeeeeeeeeeeeeeee give me suggession.

Hi,

In Visual Studio select the option Build >> Publish Website from the menu. I will open a popup which will ask you few things including target folder. Pressing the button will copy only those files in the target folder that will be required to upload on the webserver. For Sql Server 2000 use your Enterprise Manager. Right Click on the Database and select All Tasks then select Export Data. It will open a wizard in which you have to give the credentials and the database name of the local computer when you click next you will then have to give the credential and the database name of the webserver. When you click next you will see 3 options select “Copy objects and data between Sql Server databases” and click next. It will then ask you some more things like what you want to copy. Then click run immidiately. It will start transfering the complete database.

exception handling


Hello i am a newbie plzzz tell what is exception handling?

Hi giving u a full explanation .I think this will clear u many a things.
When an exception occurs, the system searches for the nearest catch clause that can handle the exception, as determined by the run-time type of the exception. First, the current method is searched for a lexically enclosing try statement, and the associated catch clauses of the try statement are considered in order. If that fails, the method that called the current method is searched for a lexically enclosing try statement that encloses the point of the call to the current method. This search continues until a catch clause is found that can handle the current exception, by naming an exception class that is of the same class, or a base class, of the run-time type of the exception being thrown. A catch clause that doesn’t name an exception class can handle any exception.
Once a matching catch clause is found, the system prepares to transfer control to the first statement of the catch clause. Before execution of the catch clause begins, the system first executes, in order, any finally clauses that were associated with try statements more nested that than the one that caught the exception.
Exceptions that occur during destructor execution are worth special mention. If an exception occurs during destructor execution, and that exception is not caught, then the execution of that destructor is terminated and the destructor of the base class (if any) is called. If there is no base class (as in the case of the object type) or if there is no base class destructor, then the exception is discarded.