mikeon

Stories submitted by mikeon

Open Type Macro In Visual Studio(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 8 months ago

Second article on working with macros in Visual Studio. This time I present to you, a very useful macro: OpenType. It allows you to open a file that contains a type with a given name. Code included as always :-) read more...

add a comment |category: |Views: 15

tags: another

Open File Macro In Visual Studio(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 8 months ago

Do you know how to use Visual Studio macros? Today I describe how to write and use a Visual Studio macro for opening files found in the solution. read more...

add a comment |category: |Views: 80

tags: another

Using SingleTagSectionHandler Instead Of appSettings(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 8 months ago

As an alternative to appSettings you can use SingleTagSectionHandler to store settings in a web.config file. Learn how. read more...

4 comments |category: |Views: 439

tags: another

CodeFileBaseClass Attribute And Generic Types(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 10 months ago

Ever wanted to declaratively set properties of you Page class in a Page directive like you do with Title? It can be done with a use of CodeFileBaseClass. But what about generics? How to handle them? Read on. read more...

add a comment |category: |Views: 100

tags: another

RegularExpressionValidator - Do Not Repeat Yourself(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 10 months ago

Best Practice for working with RegularExpressionValidator controls. read more...

add a comment |category: |Views: 8

tags: another

Getting MS SQL Server Database Dump (vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 10 months ago

How to get a dump of SQL Server 2000/2005 database. The Database Publishing Wizard. read more...

add a comment |category: |Views: 21

tags: another

Event Handler Code Snippet(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 10 months ago

A code snippet for creating Event Handlers in C#. read more...

add a comment |category: |Views: 26

tags: another

DebuggerTypeProxyAttribute - Attribute That Helps(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 10 months ago

Description of an attribute that allows you to create "views" of your types that are then used by Visual Studio debugger. A useful find! read more...

add a comment |category: |Views: 7

tags: another

Working With Web.config And App_Code(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 11 months ago

Few things to know when working with Web.config and App_Code directory. What is the assembly name for App_Code classes, how to use controls defined there etc. read more...

add a comment |category: |Views: 523

tags: another

How To Writer br Without Writing br(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 11 months ago

On using HtmlTextWriter object with HtmlTextWriterTag enumeration and how to writer <br /> without using literal "<br />" string. read more...

add a comment |category: |Views: 2

tags: another

Good Practice For Working With ASP.NET Controls(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 11 months ago

A good practice that I'm using when working with ASP.NET controls that saves me a lot of work. read more...

add a comment |category: |Views: 9

tags: another

Anonymous Methods vs Threads(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 11 months ago

What happens when you combine anonymous methods and threads - a things you need to be aware or you will encounter a strange behavior that will be hard to explain. read more...

add a comment |category: |Views: 14

tags: another

Getting All Controls On The ASP.NET Page(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 11 months ago

How to get all controls on a page in a recursive way - FlattenHierarchy method and what you can do with it. read more...

1 comment |category: |Views: 98

tags: another

Working With Asynchronous WebRequests(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 11 months ago

Do you knowh how to handle multiple asynchronous WebRequests? Do you know why the obvious way doesn't work? read more...

add a comment |category: |Views: 23

tags: another

The DIV Tag Around Hidden ASP.NET Input Fields(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 11 months ago

How to get rid of the div tag that gets generated around hidden ASP.NET input fields? Is it at all possible? Yes, but not in a way one would expect. read more...

add a comment |category: |Views: 14

tags: another

Self-Hiding ASP.NET Control(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 11 months ago

Making a self-hiding ASP.NET control - what can surprise you on your way. read more...

add a comment |category: |Views: 4

tags: another