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: http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032267713&Culture=en-USAbstract:This 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: http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032267685&Culture=en-USThis .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  

4

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) http://office.microsoft.com/infopath InfoPath 2003 Training (16 walkthroughs to jumpstart your InfoPath skills) http://msdn.microsoft.com/library/en-us/odc_2003_ta/html/odc_landinfo03_tr.asp InfoPath Team Blog http://blogs.msdn.com/infopath/     Building Custom Controls with ASP.NET…


Security Content Links — Writing Secure Code – Threat Defense

      Main concepts   Fix Those Buffer Overruns! http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncode/html/secure05202002.asp When Output Turns Bad: Cross-Site Scripting Explained http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncode/html/secure07152002.asp SQL Injection (a whitepaper) http://www.spidynamics.com/papers/SQLInjectionWhitePaper.pdf     Additional resources   How To: Create a DPAPI Library http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT07.asp Obfuscate It: Thwart Reverse Engineering of Your VB .NET or C# Code http://msdn.microsoft.com/library/default.asp?url=/msdnmag/issues/03/11/NetCodeObfuscation/TOC.ASP     For More Information  …


Security Links — Implementing Application Security Using the .NET Framework

Implementing Application Security Using the .NET Framework     Main concepts   Code Access Security http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcodeaccesssecurity.asp Introduction to Role-Based Security http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconintroductiontorole-basedsecurity.asp Cryptography Simplified in Microsoft .NET http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/cryptosimplified.asp ASP.NET Web Application Security http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconaspnetwebapplicationsecurity.asp Web Services Security http://msdn.microsoft.com/security/securecode/webservices/default.aspx     Additional resources    Validating with a Custom Function for ASP.NET Server Controls http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskvalidatingwithcustomfunction.asp .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…