prabirshrestha

Stories submitted by friends of prabirshrestha

Help Make Visual Studio Faster(blogs.msdn.com)

submitted by pycckipyccki(357) 1 year ago

One of the most difficult things about our job is trying to decipher why Visual Studio is slow for a customer. Often it starts with a vague complaint (e.g. "Visual Studio is sluggish") which we then have to narrow down to a particular action that's slow, and try and get a profile. Then we have to look through a large profile and figure out which code is running slower than it should be and why. Sometimes the problem is CPU intensive, sometimes it's disk or network, sometimes it's a different program altogether that just happens to be slow. I know the process is just as frustrating for customers, who have to try and figure out just where it is slow and get us a profile. And of course, if VS is just a little bit slow, then it's often much easier to live with it than go through the hassle of trying to help us isolate it. Visual Studio PerfWatson: http://visualstudiogallery.msdn.microsoft.com/fa85b17d-3df2-49b1-bee6-71527ffef441 read more...

add a comment |category: |Views: 116

tags: another

Create user friendly date fields with ASP.NET MVC EditorTemplates &amp(rachelappel.com)

submitted by pycckipyccki(357) 1 year, 1 month ago

Today's web sites need to be user friendly, interactive, and responsive. The date field is of particular interest because at this point in time, users pretty much expect too see nicely formatted dates on the site in general, and datepicker/calendar widgets to interact with when editing date fields. The best way to do this, of course, is with client side script; and when working in ASP.NET MVC, those scripts can work seamlessly with templates. What are MVC EditorTemplates & DisplayTemplates? Editor & Display templates behave a lot like partial views, since they're just .cshtml/.ascx files (so they technically are partial views), and they produce output inside of regular views, just like partial views. However, there are some key differences that distinguish templates from views: Templates render at an application wide scope, automatically. When you use partial views, you must call them from another view using helper syntax, e.g., @Html.Partial("_PartialViewName"). Templates render themselves only for the specific data types that they're setup to handle, e.g., DateTime, decimal or int, throughout the entire application. If you setup an EditorTemplate to render output for a particular data type, it will do so for every single field of that type in the application while partial views aren't tied to any particular data type. A DisplayTemplate renders itself only when its specific data type needs to display in an Index, Details, Delete, or custom view. An EditorTemplate renders itself only when its specific data type is in edit mode and while in Edit mode. A benefit of using Editor and DisplayTemplates is that you don't have to add repetitive code into views individually. More importantly you won't find yourself adding code to work with each field individually, as that creates code that's not DRY and harder to maintain. Just add your Html Helpers, widgets, & script to the templates directly and the Razor/ASPX view engine will take over to produce output based on those data types in templates. read more...

add a comment |category: |Views: 18

tags: another

Interesting jQuery Tutorials - April 2011(www.ajaxline.com)

submitted by pycckipyccki(357) 1 year, 1 month ago

Moving Boxes Content with jQuery Expanding Image Menu with jQuery Animated Content Menu with jQuery How to Make a Slick Ajax Contact Form with jQuery and PHP Drag-and-Drop with jQuery: Your Essential Guide ... and Many More read more...

add a comment |category: |Views: 9

tags: another

ASP.NET web services mistake: manual JSON serialization(encosia.com)

submitted by pycckipyccki(357) 1 year, 1 month ago

If you’ve spent much time working with the .NET platform, ASP.NET’s simple, convention-based approach to exposing JSON endpoints seems just about too good to be true. After years of fiddling with manual settings in XML configuration files, it’s understandable to assume that working with JSON in ASP.NET would require a similar rigmarole, yet it does not. Unfortunately, this unexpected ease-of-use isn’t obvious if you don’t already know about it, which has led some developers to build needlessly complicated solutions to problems that don’t actually exist. In this post, I want to point out a few ways not to approach JSON in ASP.NET and then show you a couple examples of leveraging the frame work to do it “right”. read more...

add a comment |category: |Views: 26

tags: another

Integrating OpenID in ASP.NET Web Forms using DotNetOpenAuth(bhaidar.net)

submitted by pycckipyccki(357) 1 year, 1 month ago

I recently started exploring OpenID/OAuth authentication/authorization concepts hoping to develop ASP.NET Web Form applications enabled for Single Sign One with OpenID Providers. A provider could be Google, Yahoo, Facebook, Myspace etc ... In this article, I will show you how to enable an ASP.NET Web Form's application to authenticate/authorize with OpenID Providers like Google, Yahoo, OpenID, myOpenID, Wordpress, etc ... I won't go into explaining OpenID standards as there are so many articles out in the jungle that you can grab & read. Therefore, what I will do is offer you some useful material that I will recommend you go over them to get the details of OpenID and its extensions. read more...

add a comment |category: |Views: 75

tags: another

30 PRO JQUERY TIPS, TRICKS AND STRATEGIES(www.problogdesign.com)

submitted by pycckipyccki(357) 1 year, 2 months ago

These tips and tricks all have one thing in common- they are all smashingly useful. With this stuff in your back pocket, you’ll be ready to go change the world, and even better, write jQuery like you know what you’re doing. It’s gonna be fun. We’ll start with some basic tricks, and move to some more advanced stuff like actually extending jQuery’s methods and filters. Of course, you should be familiar with the basics of jQuery first. If you haven’t used jQuery before, I highly recommend browsing the documentation and watching jQuery for Absolute Beginners Video Series. Otherwise, you’re ready to dig in! read more...

add a comment |category: |Views: 16

tags: another

Data linking with jQuery(brijbhushan.net)

submitted by pycckipyccki(357) 1 year, 2 months ago

Data kinking provides us a way, to link our data/objects to UI controls. Means, if the controls get updated, the underlying data object would also be updated. In the same way, if the data objects get updated, the controls on UI will also get updated (In case of two way linking). Means once you linked your data with the controls, you don’t need think about the data object. The syncing between data object and your UI will be taken care by the jQuery plug in. read more...

add a comment |category: |Views: 29

tags: another

Book Review: Programming Entity Framework(mosesofegypt.net)

submitted by mosessaurmosessaur(5424) 1 year, 4 months ago

A Review on Programming Entity Framework Book. read more...

add a comment |category: |Views: 7

tags: another

An Introduction to jQuery Templates(stephenwalther.com)

submitted by pycckipyccki(357) 1 year, 5 months ago

Outstanding jQuery Template Introduction & Tutorial by Stephen Walther read more...

add a comment |category: |Views: 10

tags: another

Composition with jQuery Templates: Why and How(encosia.com)

submitted by pycckipyccki(357) 1 year, 6 months ago

I doubt anyone was happier than I was to see that support for composite template rendering was added to jQuery Templates during the interim between the first community proposal and its recent release. If you’re a regular reader, you might remember that I personally lobbied for that functionality back in May, based on how I’ve used jTemplates’ similar #include feature. Since then, a common question I’ve received amounts to: “Great, but why?” read more...

add a comment |category: |Views: 9

tags: another

jQuery 1.4.3 API Cheat Sheet(www.futurecolors.ru)

submitted by pycckipyccki(357) 1 year, 7 months ago

Here's updated jQuery 1.4.3 Cheat Sheet. Available in PDF and PNG. Here's list of General Improvements and New Features http://blog.jquery.com/2010/10/16/jquery-143-released/ read more...

add a comment |category: |Views: 158

tags: another

KiGG 3.0 Released(mosesofegypt.net)

submitted by mosessaurmosessaur(5424) 1 year, 7 months ago

Yesterday we released KiGG 3.0 and baselined the source code for version 3. No major changes in this release. We upgraded to ASP.Net MVC 2.0 on .Net 3.5 SP1 & VS2008. read more...

1 comment |category: |Views: 123

tags: another

Book Review: Microsoft Entity Framework in Action(mosesofegypt.net)

submitted by mosessaurmosessaur(5424) 1 year, 7 months ago

I highly recommend this book. No further knowledge about Entity Framework is required. So you don’t have to know anything about EF1 in order to read and gain benefit of this book. Great effort spent on this book by the authors and the publisher. You’ll get a great value with reasonable amount of money compared to the information provided in this book. read more...

add a comment |category: |Views: 161

tags: another

Basic Introduction to Algorithms session at Alazhar University(mosesofegypt.net)

submitted by mosessaurmosessaur(5424) 1 year, 7 months ago

I had a chance this week to do a simple basic presentation about algorithms to undergraduate students of Computer Engineering in Alazhar University in Cairo. read more...

add a comment |category: |Views: 1

tags: another

Getting Started with Entity Framework 4.0 Screencast Recorded session (mosesofegypt.net)

submitted by mosessaurmosessaur(5424) 1 year, 8 months ago

Fifth part is about 9:45 min in length. Part 5. Covers EDM -Entity Data Model- showing its elements (SSDL, CSDL & MSL). Also this screencast shows how to query your conceptual model using LINQ to Entities. read more...

add a comment |category: |Views: 102

tags: another

Nested jTemplate, jQuery and JSON in ASP.NET(www.dotnetcurry.com)

submitted by pycckipyccki(357) 1 year, 8 months ago

In this article, we will continue with the same example and add a nested jTemplate in our ASP.NET project. I would strongly suggest you to read my previous article to know more about jTemplate and where to obtain the files. Follow these steps: read more...

add a comment |category: |Views: 69

tags: another