Geek Speak: How to create a Testable SQL Listener

In some situation, logging to the file system or to the event log, may not be sufficient to handle your error handling needs.  For us at Microsoft, that is the case.  Our production applications are “hands-off”, we don’t have physical access to the machines.  Our primary way for developers to determine the activity of the…


Debugging and Tweaking Week (Part 4 of 5): How Optimized is Your Data? – Follow – Up

Debugging and Tweaking Week (Part 4 of 5): How Optimized is Your Data? Registration: session examines proven strategies to help you design and develop scalable data access solutions. Learn valuable techniques you can use to optimize stored procedure calls, reduce dataset serialization cost, manage transactions, and page through large result sets. We will also…


Follow-up Debugging and Tweaking Week (Part 3 of 5): Visual Studio 2005 Debugging Enhancements

Today’s Slides : Click Here Articles Create a Debugger Visualizer Using Visual Studio 2005 Beta 1ms-help://MS.MSDNQTR.2005JAN.1033/dnvs05/html/simplevisualizercreation.htm DataTips, Visualizers and Viewers Make Debugging .NET Code a Breeze   Sample Code:NETMatters0408.exe — VS 2003 Code VS2005 Code:VisualizersTesting Visualizers VS2005 Visualizer Code Construction using System;using System.Collections.Generic;using System.Windows.Forms;using Microsoft.VisualStudio.DebuggerVisualizers; namespace MyVisual{    // TODO: Add the following to SomeType’s defintion…


Geek Speak: Debugging and Tweaking Week (Part 2 of 5): Debugging Production Applications ( Post Web Cast )

Registration Url: .NET Framework 1.1 session will equip you with the mindset, tools, and techniques that will help you successfully identify and resolve common production application debugging issues. Learn efficient ways to handle some of the more difficult issues you are likely to encounter when running ASP.NET applications in production environments, such as memory…


MSDN Webcast: Debugging and Tweaking Week (Part 1 of 5): How to Debug with .NET ( Followup )

Here is the sample code!! Tracing Code Webcast PPT’s MSDN Library References: Trace Switch TextWriterTraceListener Trace Class System.Diagnostics Web.Config Code Snippets<system.diagnostics>     <assert logfilename=”c:\inetpub\wwwroot\Tracing\assert.log” />      <switches>          <add name=”DataMessagesSwitch” value=”1″ />          <add name=”TraceLevelSwitch” value=”2″ />      </switches>      <trace autoflush=”true” indentsize=”2″>          <listeners>               <add name=”traceListener”                          type=”System.Diagnostics.TextWriterTraceListener”                          initializeData=”c:\inetpub\wwwroot\Tracing\myLog.log” />               <add name=”traceListener”                          type=”System.Diagnostics.EventLogTraceListener”                          initializeData=”Msdn Tracing” />           </listeners>        </trace></system.diagnostics>  


WSE 2.0 WebCast Resources

LinksWeb Services Enhancements (WSE) 2.0 SP1 for Microsoft .NETWSE Development CenterWeb Services Development Center Lab FilesHands on Labs – SecurityHands on Labs – Messaging  


August – September 2004 Events Handout

MSDN Events Ready Reference August – September 2004 Events     InfoPath™ Solutions with SP1 and VS .NET   InfoPath 2003 Home Page (where you can download SP1 and the InfoPath Toolkit) InfoPath 2003 Training (16 walkthroughs to jumpstart your InfoPath skills) InfoPath Team Blog     Building Custom Controls with ASP.NET…


Security Content Links — Writing Secure Code – Threat Defense

      Main concepts   Fix Those Buffer Overruns! When Output Turns Bad: Cross-Site Scripting Explained SQL Injection (a whitepaper)     Additional resources   How To: Create a DPAPI Library Obfuscate It: Thwart Reverse Engineering of Your VB .NET or C# Code     For More Information  …


Security Links — Implementing Application Security Using the .NET Framework

Implementing Application Security Using the .NET Framework     Main concepts   Code Access Security Introduction to Role-Based Security Cryptography Simplified in Microsoft .NET ASP.NET Web Application Security Web Services Security     Additional resources    Validating with a Custom Function for ASP.NET Server Controls .NET Framework Regular Expressions…


How to use Windows Based security to check groups in ASP.NET

IIS Security Settings Make sure to turn off Anonymous user access Code for Code-Behind page. Imports System.SecurityImports System.Security.Principal Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load         ‘Put user code to initialize the page here         Dim pUser As WindowsPrincipal                  pUser = context.User         Response.Write(pUser.Identity.Name)                  If pUser.IsInRole(WindowsBuiltInRole.Administrator) Then                      Response.Write(” User is an…