Posts

Showing posts with the label VS.net 2008

Top 10 things to know about Visual Studio 2008 and .NET Framework 3.5

The list below is not in order of importance, instead it is in the order I suggest you explore this new release. 1. VS2008 and Fx 3.5 will officially launch together in February but will be available to developers by the end of November 2007 . The same type of Visual Studio SKUs/Editions available with VS2005 will also be available with VS2008 including a brand new one: VS2008 Shell. VS 2008 is a great Vista client, has better aesthetics and a bunch of new usability features including enhancements for multithreaded debugging . 2. Fx 3.5 continues with the additive approach that we introduced with Fx 3.0 while still not introducing a new CLR. As a reminder, Fx 3.0 simply added to Fx 2.0 without changing or removing anything in the existing assemblies (it added WPF, WCF, WF and CardSpace). So, Fx 3.5 simply adds some assemblies to the existing set of DLLs that Fx 2.0/3.0 comprises of. This means that simply installing the framework should not affect your existing so...

Exact Phrase Website Live Search Script .NET 3.5, New 2009

Introduction My project: Exact Phrase Website Live Search Script. This script is produced with compatibility to ASP .NET 3.5 and is used in Websites, webservers, including localhost, domain.com, etc. The script primary programming is done in C#. This script is a utility which searches out the entire domain.com or the website's files: .html, .htm, .txt, .rtf, .nfo to find an exact keyword or a phrase. The search does not requires any database neighter temporary file creation or temporary space. Search is done right live into the website and the server which runs the website! In one go, in a matter of only two seconds on the Xeon server, the search completes parsing out at least 500 web pages and indexes the searched files right away. Regards, Tushar. Extended information: Put this ASP 3.5 script into yourdomain.com/ and search the entire website for exact word or a phrase. This script is based on ASP .NET 3.5 so if you have installed .NET 3.5 on your server/localhost...

A custom DecimalBox for accepting only Digits and a Decimal Point

Introduction In a recent project I was creating for evaluating investment properties I found I was going to need as many as 20 or so text boxes to accept monetary amounts, the purchase price, down payment, taxes, rental income, miscellaneous income, and a number of expenses beyond just the mortgage payment. I initially searched the web for examples of a control that would only accept digits, but was disappointed with what I found; likewise when I considered formatting the user input as currency. The solutions I encountered didn't do anything to ensure that the user couldn't make a mistake that wasn't caught and immediately rejected by the code, and the formatting examples I found were inspirational, but not quite what I wanted to accomplish. So, I decided that I would use pieces of what I'd found to create a custom cotrol that did exactly what I wanted it to do. The criteria were as follows: Any character other than a digit or a single decimal point was to...

Making a parsable text box in .Net 3.5

Image
Introduction The standard WPF controls provided by the .Net 3.5 SP1 framework do not contain a range of controls like numerical text boxes. Very often developers need these text boxes to limit the user input to accept integers or floating point etc. I developed these controls while working on a hobby project of mine. While at it, I thought it would be nice to extend these controls to beyond numerical data types and in general, parse any text into strongly typed .Net objects. This article describes how to extend the library to target any .Net data type that you want to create ,starting from plain text input. Note: Unless and until mentioned otherwise, we will referring to input that has to be parsed as a System. Double object. We will call its text counterpart as floating point representation. Background The objective is to get textboxes that accept a text input that can be parsed into a strongly typed .Net object. Now, most people will enter text character by characte...

Images as a Service with ADO.NET Data Services

For those of you who have already put your feet into the waters of .NET 3.5 SP1, you have probably seen some amazing things with ADO.NET Data Services coupled to the Entity Framework. But that coupling may lead to blindness. Allow me to explain. First of all, I want to clearly state up front that I love the Entity Framework and I love how easily ADO.NET Data Services snaps into it to provide a RESTful representation of your Entity Data Model (EDM). But there is a lot more to Data Services than is shown by this usage. For instance, many people may not realize that you don't need EF behind your data service. What's more, is that you don't need a SQL database behind your data service. ADO.NET Data Services can be fully customized to expose any queryable "data" that you come up with in a REST-styled, web accessible data store. Our Scenario - Serving Images To demonstrate customization with ADO.NET Data Services, our example "data" will simply ...

ABC of an EndPoint in WCF

Objective: This article is targeted to beginners in WCF. This is a absolute theoretical article. It will explain all theoretical concept of an EndPoint in WCF. It will explain Address in WCF It will explain Binding and where, which binding should be used. It will explain Contract. ABC of Endpoint in WCF The three elements constitute an endpoint starts with letters that makeup a mnemonic phrase "ABC of Endpoints" See full detail: http://www.c-sharpcorner.com/UploadFile/dhananjaycoder/abcendpoint07032009055909AM/abcendpoint.aspx

Enhanced Event Viewer in VS 2008

Windows provides a nice tool for viewing event logs of our machine. This tool called as Event Viewer is having lot of features to browse through our event logs. Even though, it is a very useful tool to browse our event log, but it does not provide certain features like searching and auto-show up of new events etc. So, I thought of doing an application that makes our event log browsing faster and much easier. First, I will explain the features provided by it followed by design and coding, Features provided by this Viewer: Ø Easy to navigate among the Logs. Ø Easy to filter events. Ø Easy to do Search. Ø Click away to access it. Ø Connect to remote machine’s Event Log. Ø Listener to show new event entry automatically. Ø Better User Experience and lot more. I designed this application in VS 2008 SP1. Create a new Windows application in C# and name it as EnhancedEventViewer. Add the controls to EventViewer form a...