Logo 
Search:

.net framework Interview FAQs

Submit Interview FAQ
Home » Interview FAQs » .net frameworkRSS Feeds
.Net Framework
Comments: 0

Can I create my own permission set?

Yes. Use caspol -ap, specifying an XML file containing the permissions in the permission set. To save you some time, here is a sample file corresponding to the 'Everything' permission set - just edit to suit your needs. When you have edited the sampl...
Posted By:Willard Washington      Posted On: Feb 25

.Net Framework
Comments: 0

I'm having some trouble with CAS. How can I troubleshoot the problem?

Caspol has a couple of options that might help. First, you can ask caspol to tell you what code group an assembly belongs to, using caspol -rsg. Similarly, you can ask what permissions are being applied to a particular assembly using caspol -rsp.
Posted By:Emily Brown      Posted On: Aug 18

.Net Framework
Comments: 0

I can't be bothered with CAS. Can I turn it off?

Yes, as long as you are an administrator. Just run:

caspol -s off
Posted By:Jarrod Williams      Posted On: Mar 24

.Net Framework
Comments: 0

Can I look at the IL for an assembly?

Yes. MS supply a tool called Ildasm that can be used to view the metadata and IL for an assembly.
Posted By:Evelyn Hughes      Posted On: Jan 13

.Net Framework
Comments: 0

Can source code be reverse-engineered from IL?

Yes, it is often relatively straightforward to regenerate high-level source from IL. Lutz Roeder's Reflector does a very good job of turning IL into C# or VB.NET.
Posted By:Douglas Sullivan      Posted On: Jan 28

.Net Framework
Comments: 0

How can I stop my code being reverse-engineered from IL?

You can buy an IL obfuscation tool. These tools work by 'optimising' the IL in such a way that reverse-engineering becomes much more difficult.

Of course if you are writing web services then reverse-engineering is not a problem as clients do not h...
Posted By:Cambria Lopez      Posted On: Dec 02

  3  4  5  6  7  8  9  10  11  12  13