pyccki

Stories submitted by pyccki

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

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

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

6,953 reasons why I still let Google host jQuery for me(encosia.com)

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

It’s been nearly two years since I wrote about using Google’s CDN to host jQuery on your public-facing sites. In that post, I recommended it due to three primary benefits that public CDNs offer: decreased latency, increased parallelism, and improved caching. Though the post has been overwhelmingly well-received, concerns have been raised as to whether or not the likelihood of better caching is truly very significant. Since the efficacy of that benefit depends entirely on how many other sites are using the same CDN, it takes quite a bit of research to make an objective case either way. I’ve never been happy about responding with vague answers. Caching probability is a valid concern and deserves to be taken seriously. So, I decided to cobble together an HTTP crawler, analyze 200,000 of the most popular sites on the Internet, and determine how many of those are referencing jQuery on Google’s public CDN. read more...

add a comment |category: |Views: 10

tags: another

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

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

jTemplate is a template engine plug-in for jQuery and is commonly used to display tabular data by binding objects to the template. Before using jTemplate, you must know how to use the jTemplate syntax. read more...

add a comment |category: |Views: 387

tags: another

Visual Studio LightSwitch application detailed walk thru & setup.(blogs.msdn.com)

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

VisualStudio Jason Zander's very detailed walk thru (includes setup) to get your first Visual Studio LightSwitch application up. read more...

add a comment |category: |Views: 30

tags: another

Microsoft VisualStudio Lightswitch(www.microsoft.com)

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

THE SIMPLEST WAY TO BUILD BUSINESS APPLICATIONS FOR THE DESKTOP AND CLOUD Microsoft Visual Studio LightSwitch Beta helps you solve specific business needs by enabling you to quickly create professional-quality business applications, regardless of your development skills. LightSwitch is a new addition to the Visual Studio family. Visit this page often to learn more about this exciting product. read more...

add a comment |category: |Views: 13

tags: another

RequestValidation Changes in ASP.NET 4.0(www.west-wind.com)

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

There’s been a change in the way the ValidateRequest attribute on WebForms works in ASP.NET 4.0. I noticed this today while updating a post on my WebLog all of which contain raw HTML and so all pretty much trigger request validation. I recently upgraded this app from ASP.NET 2.0 to 4.0 and it’s now failing to update posts. At first this was difficult to track down because of custom error handling in my app – the custom error handler traps the exception and logs it with only basic error information so the full detail of the error was initially hidden. After some more experimentation in development mode the error that occurs is the typical ASP.NET validate request error (‘A potentially dangerous Request.Form value was detetected…’) which looks like this in ASP.NET 4.0: read more...

add a comment |category: |Views: 12

tags: another