Steve Schofield's Blog

Browse by Tags

All Tags » ASP.NET   (RSS)

  • IIS and .NET 2.0 interview questions

    I had a 2 hour layover and was browsing the newsgroups.  A person posted a question wondering about interview questions IIS and .NET 2.0.  I'm sure there are many other questions that I didn't think to ask, here is the list I came up with.  If you have any uestions, feel free to post them to the comments and I'll update the post. 

    PS: This is meant for a 'systems' or 'itpro' type person and not necessarily a developer type individual.

     What is your backup and recovery strategy for IIS
    How would you handle migrating to another box?
    How do you handle changes in IIS, scripting or manual changes?
    Are you familar with scripting languages such as VBScript, JScript, Powershell.
    Are you familar with IISCfg and related scripts such as adsutil
    Do you have experience supporting multiple environments of IIS (different domains, dev / test /integration / production)
    Are you familar with ways to connect to remote databases such as db2, oracle, sql server
    Do you know the differences between anonymous, integrated, basic, digest authentication.
    What is your preferred method of publishing content?  FTP? FrontPage? WebDAV? Folder copy? Publish to a staging machine and replicate to the content source either on a nas or individual nodes.
    Are you familiar with the other services in SMTP, FTP?
    Do you know how to configure a smarthost?
    Does the built-in FTP service support host-headers?
    Do you know the benefits of using a COM+ package vs. Regsvr32
    What certain local group is necessary if it is configured as a application pool user.

    Here are some IIS7 questions.
    What makes the IUSR account unique in IIS7 vs. previous versions.
    What are some of the new ways of troubleshooting, Logging in IIS7
    What are the major benefits of IIS7?  (FREB, Integrated Pipeline, IUSR same on all w2k8 boxes, Shared configuration, Modular architecture, configuration changes)

    .NET 2.0
    Can you run the 1.1 and 2.0 on the same box?  What are the limitations.
    Can you explain what the '/bin'
    Do you know what user instancing is.
    Do you know the difference between precompiled applications and publishing the source code.
    Do you have any experience with partial trust or CAS (code access security)
    What types of things cause an appdomain or application pool recycle.


    I'll see if I can toss a few your way.  I'm assuming the person is familiar
    with IIS.  Some basic questions I'm assuming they would know.  How do I
    create a site, what is an application pool.

    • How do you isolate and troubleshoot an ASP and / or ASP.NET application?
    • What is your idea of locking down a server?
    • How do you feel about having developers or anyone else making changes directly in production?  Aka how do you normally handle change management.
    • What perfmon counters do you find useful in troubleshooting an IIS or related problem.
    • Do you have experience in working with web-farms, load-balancing environments?
    • What is your ideal way of handling content.  Remote Storage / NAS (network attached storage) vs. local content and replication.  If you use local content and replication what tools do you to use?
    • Are you familiar with DFS?
    • What debugging tools do you use for IIS?
    • What / Where would you put global .NET settings.  How would you lock them down?
    • Do you have any experience with SSL certificates?
    • Do you have experience with machines with multiple IP's and how to handle several sites / applications on a machine.
    • What is your preference of handling machine accounts?  Do you like local vs. Active Directory based accounts.
    • Do you have experience with working in an AD environment that supports IIS.
    • Do you have experience with NLB (network load balancing) that comes with IIS.
    • How do you monitor the applications / sites to ensure the uptime is appropriate.  This might apply more to a monitoring environment, but it is good to know what to monitor.
    • Are you familiar with compression and the benefits.
    • Do you know what MIME types are for?
    • Do you know how to list all running applications on a server to determine which application pools are owned by what sites. (IISAPP)
    • Are you familiar with IISState, IIS Debug Diag. SSL Diag, SMTPDiag in the resource kit.
    • What tools do you use or have experience in load-testing an application.
    • What are some of the tools provided by MS.  WCAT, TinyGet, WAST.
    • Do you know how to configure host-headers and how they related to DNS.
    • What is your backup and recovery strategy for IIS
    • How would you handle migrating to another box?
    • How do you handle changes in IIS, scripting or manual changes?
    • Are you familiar with scripting languages such as VBScript, JScript, Powershell.
    • Are you familiar with IISCfg and related scripts such as adsutil
    • Do you have experience supporting multiple environments of IIS (different domains, dev / test /integration / production)
    • Are you familiar with ways to connect to remote databases such as db2, oracle, sql server
    • Do you know the differences between anonymous, integrated, basic, digest authentication.
    • What is your preferred method of publishing content?  FTP? FrontPage? WebDAV? Folder copy? Publish to a staging machine and replicate to the content source either on a nas or individual nodes.
    • Are you familiar with the other services in SMTP, FTP?
    • Do you know how to configure a smarthost?
    • Does the built-in FTP service support host-headers?
    • Do you know the benefits of using a COM+ package vs. Regsvr32
    • What certain local group is necessary if it is configured as a application pool user.
    • Do you know all the related IIS services installed on the box

    IIS7 questions.

    • What makes the IUSR account unique in IIS7 vs. previous versions.
    • What are some of the new ways of troubleshooting, Logging in IIS7
    • What are the major benefits of IIS7?  (FREB, Integrated Pipeline, IUSR same on all w2k8 boxes, Shared configuration, Modular architecture, configuration changes)
    • I'm sure there are more, check out www.iis.net for more items

    .NET 2.0

    • Can you run the 1.1 and 2.0 on the same box?  What are the limitations.
    • Can you explain what the '/bin'  folder is used for.
    • Do you know what user instancing is.
    • Do you know the difference between precompiled applications and publishing the source code.
    • Do you have any experience with partial trust or CAS (code access security)
    • What types of things cause an appdomain or application pool recycle.
    • What are the new folders in .NET 2.0 and what are they used for.
    • How / why does the machine key need to be the same across all machines in a web-farm.

    Hope this helps!

  • Changing ASP.net script mapping default

    I've ran across this a few times, so I thought I'd put a blog posting on it for future reference.

    http://forums.iis.net/t/1108591.aspx

     

  • IIS7 - post #30 - Adrotator on IIS7 / Vista / BC32400: Class 'CLSID_CorSymWriter' could not be created: Access is denied.

    I was working with the Adrotator component included in .NET 2.0 on Vista and IIS7.  I was getting this error; BC32400: Class 'CLSID_CorSymWriter' could not be created: Access is denied.    It worked on my other vista machine, so I knew it was specific to my machine.  I ran Process Monitor (aka Filemon) and found two registry keys that were getting denied.  After adding Network Service with READ permissions, this started working.    PS: It was fun to actually use Filemon to track down a problem of my own, I mention this tool in many newsgroup posting. 

    Here is a picture of the output.


    Here is the raw output of the error

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Compilation Error
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: BC32400: Class 'CLSID_CorSymWriter' could not be created: Access is denied.

    Source Error:

     

    [No relevant source lines]
     

    Source File: vbc :    Line: 0

     

    Show Detailed Compiler Output:


    c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_ads.aspx.cdcab7d2.p_oyg97i.dll" /D:DEBUG=1 /debug+ /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls  "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_ads.aspx.cdcab7d2.p_oyg97i.0.vb" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_ads.aspx.cdcab7d2.p_oyg97i.1.vb"


    Microsoft (R) Visual Basic Compiler version 8.0.50727.312
    for Microsoft (R) .NET Framework version 2.0.50727.312
    Copyright (c) Microsoft Corporation.  All rights reserved.

    vbc : error BC32400: Class 'CLSID_CorSymWriter' could not be created: Access is denied.
    vbc : error BC31019: Unable to write to output file 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\26676eb7\92c7e946\App_Web_ads.aspx.cdcab7d2.p_oyg97i.pdb': Access is denied.

     

     


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.312; ASP.NET Version:2.0.50727.312

     

    Steve Schofield
    Microsoft MVP - IIS

  • Cool post about.....us!

    Steve Smith (ASPAlliance.com) recently blogged about his hosting experience with us (ORCSWeb.com).  Here is the link to the post. http://aspadvice.com/blogs/ssmith/archive/2006/07/14/19652.aspx It is a bit of a shame-less post too, I am mentioned for being an 'ubergeek', which I am.  [:)]   Thanks Steve for the nice comments!  If you need a great ASP/ASP.Net resource, http://aspalliance.com is a great site to bookmark. 
    Share this post: Email it! | bookmark it! | digg it! | reddit!

Powered by Community Server 2.1