Latest ASP.NET stories

RSS & Atom MediaTypeFormatter for ASP.NET WebAPI(www.strathweb.com)

submitted by fdubfdub(281) 1 month, 2 days ago

Today we are going to build a custom formatter for ASP.NET WebAPI, deriving from MediaTypeFormatter class. It will return our model (or collection of models) in RSS or Atom format. read more...

add a comment |category: |Views: 70

tags: another

Generating ASP.NET MVC View Controls According to Xml Configurations(blogs.microsoft.co.il)

submitted by gilfgilf(2139) 1 month, 2 days ago

Last week I was consulting about ASP.NET MVC at a customer. One of the customer project requirements is to generate forms according to Xml configuration files. In this post I’ll offer an end-to-end solution to this requirement. This solution can be rafactored to use databases or any other data sources in order to achieve the same results. read more...

2 comments |category: |Views: 101

tags: another

67% of ASP.NET websites have serious configuration vulnerabilities(www.troyhunt.com)

submitted by rpk2006rpk2006(81) 1 month, 5 days ago

This is one of those “with great power comes great responsibility” scenarios; ASP.NET is an incredibly powerful environment which lets you do amazing things with ease, but that ease also extends to the configurability and creates the opportunity to leave gaping holes in websites without even noticing it. read more...

add a comment |category: |Views: 203

tags: another

A Match Made in Http Heaven - ASP.NET Web Forms and WebAPI (blogs.telerik.com)

submitted by TelerikTelerik(388) 1 month, 5 days ago

With the introduction of MVC 4 Microsoft has created a fantastic new way for developers to expose data via HTTP service. While WebAPI shipped with MVC 4, it can easily be used in Asp.Net AJAX as well! In this blog we will take a look at setting up WebAPI in ASP.Net Web Forms. read more...

add a comment |category: |Views: 238

tags: another

Extract jpg or png images from a PDF(www.jphellemons.nl)

submitted by jphellemonsjphellemons(269) 1 month, 7 days ago

There are a lot of tools available online to extract images from a PDF, but most of them are shareware or trialware. If you need just a single image, you can right click it in Adobe acrobat reader and copy paste it into Microsofts paint, Paint.net or (overkill) Adobe Photoshop. But if you have a PDF with several pages and several images on each page, you’d like to have it automated. That’s when you start your search for a good free/low cost utility. Or, you can write your own! Much more fun guaranteed! read more...

2 comments |category: |Views: 146

tags: another

Make Your Own Wi-Fi Hotspot - Testing Development Websites on Mobiles(www.diaryofaninja.com)

submitted by wiredonewiredone(917) 1 month, 8 days ago

Often you need to test a website on an tablet device such as an iPad using a local development machine’s web server. For whatever reason the available Wi-Fi when developing your site may be on another subnet or network entirely to you development machine (such as in an office environment). Situations like these call for a bit of creative thinking and a different approach, so if this is a problem you face here’s my take on a possible solution. read more...

add a comment |category: |Views: 11

tags: another

Calling Web Services Using AJAX(www.blackbeltcoder.com)

submitted by scwebgroupscwebgroup(332) 1 month, 9 days ago

Presents code that uses AJAX to call a web service. read more...

add a comment |category: |Views: 30

tags: another

Minify your CSS & JavaScript with SquishIt(midnightprogrammer.net)

submitted by prashantmx4prashantmx4(815) 1 month, 10 days ago

NuGet package to minify your website CSS and JavaScript file. read more...

1 comment |category: |Views: 223

tags: another

Visualizing the offline application cache update progress(jclaes.blogspot.com)

submitted by JefClaesJefClaes(650) 1 month, 14 days ago

I wrote about using the HTML5 application cache earlier, mostly focusing on generating and serving the manifest file using ASP.NET MVC. I also bitched about how not one browser I know of gives an indication of the application cache update progress. Today I wanted to write something about how you can visualize the application cache update progress yourself. read more...

1 comment |category: |Views: 82

tags: another

Creating dynamic breadcrumb in asp.net mvc with mvcsitemap provider(www.dotnetjalps.com)

submitted by jalpeshjalpesh(1347) 1 month, 16 days ago

have done lots breadcrumb kind of things in normal asp.net web forms I was looking for same for asp.net mvc. After searching on internet I have found one great nuget package for mvpsite map provider which can be easily implemented via site map provider. So let’s check how its works. I have create a new MVC 3 web application called breadcrumb and now I am adding a reference of site map provider via nuget package like following. read more...

add a comment |category: |Views: 18

tags: another

Dynamically creating meta tags in asp.net mvc(www.dotnetjalps.com)

submitted by jalpeshjalpesh(1347) 1 month, 14 days ago

As we all know that Meta tag has very important roles in Search engine optimization and if we want to have out site listed with good ranking on search engines then we have to put meta tags. Before some time I have blogged about dynamically creating meta tags in asp.net 2.0/3.5 sites, in this blog post I am going to explain how we can create a meta tag dynamically very easily read more...

add a comment |category: |Views: 20

tags: another

Download Multiple Files As Zip In Asp.Net(www.csharpaspnetarticles.com)

submitted by amit.jainamit.jain(1176) 1 month, 15 days ago

This Example Explains how to Download Multiple Files As Zip File Or Archive From Server In Asp.Net. read more...

add a comment |category: |Views: 17

tags: another

What's new in Razor v2?(vibrantcode.com)

submitted by dpetersondpeterson(4397) 1 month, 14 days ago

Check out some of the new features and changes in the upcoming Razor view engine v2.0. Don't forget the source code is also now available on Codeplex! read more...

1 comment |category: |Views: 620

tags: another

Cache WCF Javascript Proxy on Browser(omaralzabir.com)

submitted by oazabiroazabir(1805) 1 month, 21 days ago

When you use WCF services from Javascript, you have to generate the Javascript proxies by hitting the Service.svc/js. If you have five WCF services, then it means five javascripts to download. As browsers download javascripts synchronously, one after another, it adds latency to page load and slows down page rendering performance. Moreover, the same WCF service proxy is downloaded from every page, because the generated javascript file is not cached on browser. Here is a solution that will ensure the generated Javascript proxies are cached on browser and when there is a hit on the service, it will respond with HTTP 304 if the Service.svc file has not changed. read more...

add a comment |category: |Views: 5

tags: another

Making your ASP.NET Web API's secure(codebetter.com)

submitted by dpetersondpeterson(4397) 1 month, 21 days ago

Johny Petersen walks us through what it takes to secure your ASP.NET Web API's using tokens. read more...

add a comment |category: |Views: 200

tags: another

67% of ASP.NET websites have serious config related vulnerabilities(www.troyhunt.com)

submitted by troyhunttroyhunt(831) 1 month, 22 days ago

Actually, it’s even worse than that – it’s really 67.37%. It’s an alarmingly high number for what amounts to very simple configuration vulnerabilities. The numbers come courtesy of ASafaWeb, the Automated Security Analyser for ASP.NET Websites which is a free online scanner at asafaweb.com. Let me walk you through these results and offer a bit of insight as to where things are going wrong when ASP.NET web sites are published. Hopefully this will be a bit of a “call to action” which helps developers understand where they might need to do a bit of tweaking in their apps. read more...

1 comment |category: |Views: 396

tags: another