arnoldmatusz

Stories kicked by arnoldmatusz

HEADache: Including JavaScript in ASP.NET Master Pages(yobriefcase.posterous.com)

submitted by kouphaxkouphax(345) 1 year, 7 months ago

Include a Javascript file in the head of of an ASP.NET WebForms Master Page whose src attribute should contain an absolute (from Application Root) path. Sounds simple enough but it’s surprisingly difficult. read more...

add a comment |category: |Views: 138

tags: another

ASP.NET MVC 2 Preview 2 Released(haacked.com)

submitted by TroyMGTroyMG(2670) 2 years, 7 months ago

Today we just released ASP.NET MVC 2 Preview 2 for Visual Studio 2008 SP1 (and ASP.NET 3.5 SP1), which builds on top of the work we did in Preview 1 released two months ago. Some of the cool new features we’ve added to Preview 2 include... read more...

add a comment |category: |Views: 438

tags: another

Visual Studio: Automatically increment assembly build version(code.mareoblo.pl)

submitted by elfyelfy(230) 2 years, 8 months ago

I always wanted to have automatic build version increment for my apps and libraries to avoid setting it manually again and again. Additionally there should be support inside Visual Studio and possibility for custom settings because I like the “date sigining” where 3 last fields are just YYYY-MM-DD. A dream come true ;) in form of Build Version Increment add-in for Visual Studio 2005/2008. read more...

2 comments |category: |Views: 674

tags: another

Take an ASP.NET Application offline with HttpModules(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 2 years, 8 months ago

Whenever you do maintenance work on a website it is advisable to show the visitors a nice message telling them politely to come back later, rather than a nasty error, or even worse: a big Yellow Screen of Death. Read how I found a solution similar to the app_offline.html approach using HttpModules and how I still allow administrators to access the website. read more...

add a comment |category: |Views: 393

tags: another

Protecting your precious code - Naming inside our obfuscater(blog.paul-mason.co.nz)

submitted by tivittivit(364) 2 years, 8 months ago

This article introduces the beginnings of an open source obfuscator - NCloak. It continues on from previous articles in the Protecting your precious code series, and the implementation of an obfuscater using Mono.Cecil. In particular, it investigates renaming all private members as non-english characters (just like many commercial products do already) and provides the code for a basic obfuscation tool that can be reused in your products. read more...

add a comment |category: |Views: 312

tags: another

ASP.NET Menu with jQuery Superfish(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 2 years, 9 months ago

Choosing the right type of menu for a website is not easy at all. The ASP.NET Menu Control is definitely NOT a good starting point due to the horrendous markup it renders. The idea is to use a modified version of the CssFriendly Menu adapter with the jQuery Superfish plugin. read more...

add a comment |category: |Views: 1219

tags: another

Simplify calling ASP.NET AJAX services from jQuery(encosia.com)

submitted by gt1329agt1329a(7849) 2 years, 10 months ago

I was happy to learn that jQuery provides an excellent solution for consolidating settings to be used in multiple instances of $.ajax. In this post, I’ll show you how to use that consolidation feature, and exactly how I am now using that to more simply call ASP.NET AJAX services with jQuery. read more...

add a comment |category: |Views: 364

tags: another

ASP.NET Membership – Show list of users online(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 2 years, 10 months ago

ASP.NET Membership, Show list of users online.The MembershipProvider Class exposes the GetNumberOfUsersOnline() method which returns the number of users online. But what would it take to show a list of users online. read more...

add a comment |category: |Views: 193

tags: another

Enumerable.Except(T) and IEqualityComparer - a little help(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 2 years, 11 months ago

Understand how Enumerable operators: Except, Distinct, Intersect, Union work with IEqualityComparer and take a look at an example of LINQ Except with IEqualityComparer read more...

add a comment |category: |Views: 37

tags: another

Binding in ASP.NET MVC(stevesmithblog.com)

submitted by ssmithssmith(1160) 2 years, 11 months ago

Answers to some frequently asked questions about binding data to forms in ASP.NET MVC. Covers Bind(), ModelBinders, and ViewData.Model. read more...

add a comment |category: |Views: 276

tags: another

run jQuery code from ASP.NET Server-Side(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 2 years, 11 months ago

The post is the example of an approach: how you would run some jQuery code from ASP.NET code-behind (server-side). If there is a ScriptManager on the page and the request was Asynchronous, then the JavaScript code needs to be registered with ScriptManager.RegisterClientScriptBlock. If the request is just a simple standard Postback, registering the JavaScript with Page.ClientScript.RegisterClientScriptBlock is the solution. read more...

add a comment |category: |Views: 102

tags: another

Rarely used C# Keywords(dotnetcube.com)

submitted by dncdudedncdude(1350) 3 years ago

When doing code reviews or when working with code that was developed by someone else, once in a while I come across keywords that are rarely used. Some of them are forgotten keywords that are not considered a good practice and hence are not promoted by the community. Some of them could be handy and efficient but they never made it to the limelight. read more...

4 comments |category: |Views: 1245

tags: another

How Do You Deal With Exceptions?(codethinked.com)

submitted by justin_etheredgejustin_etheredge(8539) 3 years ago

A little post on my ideas about handling exceptions within applications. How do you handle them? read more...

add a comment |category: |Views: 748

tags: another

Code Generation Should be the Nuclear Option(codethinked.com)

submitted by justin_etheredgejustin_etheredge(8539) 3 years ago

So let me first just start off by saying: I do not like code generation. In certain cases I think it can help greatly, but many people are far too eager to jump to this solution. I don't think that there is anything particularly evil about the process of generating code, but I do feel like using code generation as a day to day tool is a very bad practice. Code generation should be the tool of last resort when there is no good way to cleanly implement a solution which doesn't require code to be spread out everywhere. read more...

5 comments |category: |Views: 322

tags: another

jQuery UI DatePicker instead of AJAX Control Toolkit CalendarExtender(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years ago

The reasons why I abandoned using the CalendarExtender and choose to use the jQuery UI DatePicker instead. read more...

add a comment |category: |Views: 619

tags: another

How I handle JSON dates returned by ASP.NET AJAX(encosia.com)

submitted by gt1329agt1329a(7849) 3 years ago

The problem of how to handle dates in JSON is one of the more troublesome issues that may arise when directly calling ASP.NET AJAX web services and page methods.. Since the question of how I handle this problem is something asked often in emails and in comments on other posts here, I want to address the topic with its own post. read more...

add a comment |category: |Views: 193

tags: another