Thursday, May 3, 2012

What projects may I "see" in TFS?

One may right-click on the collection at the top of the Team Explorer pane and select "Connect to Team Project..." to see a list of what Team Foundation Server projects are selected to be seen in the Team Explorer pane. One may check and uncheck projects here. One should be able to see all potential projects in the Solution Explorer also.

Wednesday, May 2, 2012

POST and GET variables in web forms

In web forms Request.QueryString["foo"]; will pull something out of the URL line and Request.Form["bar"]; will grab ahold of a POST variable.

triage

triage - the determination of priorities for action in an emergency

templates

By going to File > Export Template... in VS2010 one may export a template. One must then install the template to use it. The Projects and Solutions Templates are kept at a path specified in the General subsection beneath the "Projects and Solutions" section in Options... found under the Tools menu. Mine were at C:\Users\vafscjaesct\Documents\Visual Studio 2010\Templates\ProjectTemplates for example. I don't understand how to do an install as of this writing/moment.

httpHandlers versus handlers

In Web.config: httpHandlers in system.web is of IIS6 while handlers in system.webServer is of IIS7. http://world.episerver.com/Documentation/Items/Tech-Notes/EPiServer-CMS-5/EPiServer-CMS-5-R2/Changes-Between-IIS6-and-IIS7/ touches on as much.

In system.web one may need to add assembly references likes so:

<assemblies>
   <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0,
         Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
   <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0,
         Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
   <add assembly="Microsoft.Build.Framework, Version=4.0.0.0,
         Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>

The GAC is .NET Global Assembly Cache.

If something seems to be running without the needed external dependency in the bin folder, perhaps their is a .dll in the GAC which is filling in the gap. Get at the GAC in Windows 7 by typing run at the start menu and then enter C:\Windows\Assembly\gac

draw SSRS into web forms

So far I have only encountered web forms implementations of SRSS incorporations in apps. A web form will sort of make an iframe out to SSRS content with a ReportViewer control like so:

<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana"
   Font-Size="8pt" InteractiveDeviceInfos="(Collection)" ProcessingMode="Remote"
   WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="920px"
   Height="500px">
</rsweb:ReportViewer>

 
 

You will need to have references to Microsoft.ReportViewer.Common and Microsoft.ReportViewer.WebForms and you will need a ScriptManager in the same web form as the ReportViewer control. Also, you may only have one ReportViewer on a web form at a time.

<asp:ScriptManager runat="server"></asp:ScriptManager>