kevinbabcock

Stories submitted by kevinbabcock

Make cross-domain Ajax requests with jQuery(www.myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 2 months ago

Learn how to circumvent the browser's same-origin policy and make cross-domain requests from the browser using jQuery's JSONP implementation. read more...

add a comment |category: |Views: 61

tags: another

Conditional Client-side Row Selection with the RadGrid for ASP.NET AJA(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 4 months ago

This post demonstrates how to add conditional client-side selecting to rows in a Telerik RadGrid. read more...

add a comment |category: |Views: 96

tags: another

ADO.NET DataTable Serialization and Web Services(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 8 months ago

f you’re working with traditional ADO.NET data types – like the DataTable – in your data access code and wanting to wire up a web service to serve up data, you’ve likely run into some issues. You’re either getting errors due to failed serialization or trying to deal with complex deserialization issues on the other end. A robust solution would be to create entity types to wrap your data into easily digestible (and serializable) objects. You can roll your own or use an Object/Relational Mapper such as Entity Framework or Telerik’s OpenAccess ORM. Another option would be to use a custom converter. But if you’re after a quick solution, you might just consider converting your ADO.NET objects into other CLR objects that the built-in JavaScriptSerializer knows how to convert, and that are easier to work with in the context of web services. read more...

add a comment |category: |Views: 48

tags: another

Weekly Tool Tip 4: Using the .NET Reflector Analyzer(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 9 months ago

If you missed previous versions of the Weekly Tool Tip, be sure to check them out. This week I want to bring your attention back to .NET Reflector for a little feature called the Analyzer. It is used to provide detailed information about how a particular component in a library is used. To get started, you can either right-click on any component – an assembly, namespace, class, method, etc. – displayed in Reflector and select Analyze from the context menu. Other ways to get at the Analyzer are to select Tools | Analyze from the main menu while highlighting a component, or hit Ctrl+R on your keyboard. When opened, the Analyzer displays component usage information in a new panel to the right of the main component tree view. With it you can investigate four aspects of usage: which components it depends on, which components it is used by, which components it is exposed by, and which components it is instantiated by. For example, if I wanted to learn more about System.Net.WebClient I could open it up in the Analyzer and investigate how it is used throughout the Framework. I can also check out the dependencies associated with one of its methods, GetWebResponse(). This has been a great asset to me as I literally spend hours combing through Reflector to see how some things are implemented. It has been quite a great learning experience! Notice that the classes are displayed hierarchically, so when you expand a section you can dig through those classes as well. Also note that you can add as many members to the list as you like. To remove one, simply right-click on it and select Remove from the context menu. Check it out, because I think you’ll find it to be an invaluable asset when learning more about the .NET Framework and the other .NET libraries you are using. read more...

add a comment |category: |Views: 9

tags: another

Multithreading in C# (with Asynchronous Delegates)(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 10 months ago

There are certainly powerful and complex multithreading capabilities built into the .NET Framework. But if you’re looking for an easy way to perform asynchronous operations in your applications, delegates are a quick solution. Delegates offer easy-to-use methods that abstract most of the threading details you would otherwise need to be worry about, queuing up work for thread pool worker threads that get dispatched as soon as a thread is available. In this tutorial I’ll give you a quick guide to using asynchronous delegates in your own applications. read more...

add a comment |category: |Views: 120

tags: another

Visual Studio Tip: Navigate Your Code(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 10 months ago

Learn to navigate through your code in Visual Studio with this quick tip. read more...

add a comment |category: |Views: 13

tags: another

Performing Set Operations with LINQ(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 10 months ago

LINQ’s set operations provide an easy (and fast!) way to filter or combine collections of objects in .NET. The four extension methods that perform set operations – Distinct, Except, Intersect, and Union – are available through the IEnumerable<T> and IQueryable<T> interfaces and use an instance of IEqualityComparer<T> to produce a result based on the presence or absence of equivalent elements. read more...

add a comment |category: |Views: 22

tags: another

Hey jQuery lovers, ASP.NET AJAX can do Ajax too!(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 11 months ago

Learn how to make Ajax requests easy with the ASP.NET AJAX client-side library. read more...

add a comment |category: |Views: 17

tags: another

JavaScript Shortcuts(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 11 months ago

Write more compact JavaScript with these two tips. read more...

2 comments |category: |Views: 376

tags: another

ASP.NET AJAX & Type-safe parameters(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 2 years, 11 months ago

Learn how to use the "new" parameter-type-checking feature of the ASP.NET AJAX 4.0 client library. read more...

add a comment |category: |Views: 6

tags: another

Advanced docking using jQuery(jankoatwarpspeed.com)

submitted by kevinbabcockkevinbabcock(345) 2 years, 11 months ago

Simulate Visual Studio's docking functionality in the browser with jQuery. read more...

add a comment |category: |Views: 74

tags: another

ASP.NET for web designers: Data controls(jankoatwarpspeed.com)

submitted by kevinbabcockkevinbabcock(345) 3 years ago

In this article we'll take a look at ASP.NET data controls and how they work. read more...

add a comment |category: |Views: 6

tags: another

Passing Delegates as Parameters in C#(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 3 years ago

C# delegates are fun to use. They let you encapsulate a bit of logic in a nice, neat little object that behaves like a method. All you have to do is declare the signature of the method that the delegate can reference without having to specify the actual method itself. This allows you to define how a method should be used but defer its implementation to another place in the application, giving it a polymorphic behavior. You can call the delegate directly or pass it as a parameter to another method, thereby “delegating” its functionality... read more...

add a comment |category: |Views: 60

tags: another

Create WCF Services Quickly & Painlessly(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 3 years ago

Learn how to create WCF services quickly. read more...

add a comment |category: |Views: 33

tags: another

Implementing IPostBackEventHandler in an ASP.NET Control(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 3 years ago

Implementing IPostBackEventHandler and an insightful look at how ASP.NET postbacks work. read more...

add a comment |category: |Views: 38

tags: another

Weekly Tool Tip: Introducing .NET Reflector(myviewstate.net)

submitted by kevinbabcockkevinbabcock(345) 3 years ago

An introductory look at .NET Reflector read more...

1 comment |category: |Views: 13

tags: another