- Posted by justin on January 31, 2005
Microsoft has released the Enterprise Library building blocks.
The Enterprise Library is a library of application blocks designed to assist developers with common enterprise development challenges. Application blocks are a type of guidance, provided as source code that can be used "as is," extended, or modified by developers to use on enterprise development projects. Enterprise Library features new and updated versions of application blocks that were previously available as stand-alone application blocks. All Enterprise Library application blocks have been updated with a particular focus on consistency, extensibility, ease of use, and integration.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/entlib.asp
- Posted by justin on January 10, 2005
I was asked today about how long the MS sql jobs in one of my applications took to run. After some research I created the following script. This script will look thru all of the jobs for the sql server and give the execution history summary.
DECLARE @Name varchar(255)
DECLARE My_Cursor CURSOR FOR
select name
from msdb.dbo.sysjobs j
OPEN Fuzion_Cursor
FETCH NEXT FROM My_Cursor
INTO @Name
WHILE @@FETCH_STATUS = 0
BEGIN
EXECUTE MSDB.DBO.SP_HELP_JOBHISTORY NULL,
@Name
, @MODE = N'SUMMARY'
, @step_id = 0
, @run_status = 1
FETCH NEXT FROM My_Cursor
INTO @Name
END
CLOSE My_Cursor
DEALLOCATE My_Cursor
- Posted by justin on January 7, 2005
I have known about reflector for quite awhile but had never really had a need to use it until today when I had a dll that that was not functioning as expected and I did not have the source code for it. This utility always has this that is cool factor but when would I use it so I had never downloaded it before. However, it provided to a really useful troubleshooting tool for this dll since it provided me with a view into the code and what it was doing.
Reflector is a free utility provided at http://www.aisto.com/roeder/dotnet/
Reflector also has the ability to create add-in module for it. I found a great one from Denis Bauer that takes the disassembler code and creates the actual source code file for you. http://www.denisbauer.com/NETTools/FileDisassembler.aspx