sahi

Stories kicked by friends of sahi

Configuring MVC Bundles with NuGet(www.tomdupont.net)

submitted by tduponttdupont(1259) 4 days, 13 hours ago

MvcBundleConfig is a very simple project that adds configuration and debugging features to MVC 4's bundling framework. Once you create a new MVC4 web application and install the MvcBundleConfig NuGet Package, then you need only update our layout to use the new bundle extension methods, and you are ready to go! read more...

add a comment |category: |Views: 6

tags: another

Configuring WebClient Timeout and ConnectionLimit(www.tomdupont.net)

submitted by tduponttdupont(1259) 17 days, 14 hours ago

It is great how simple the WebClient class is to use, but unfortunately it does not natively support configuring it's timeout or connection limit. Good news, both of these issues are very easy to fix by simply extending the WebClient class. read more...

1 comment |category: |Views: 109

tags: another

jQuery HTML5 dataAttr Pseudo Selector(www.elijahmanor.com)

submitted by elijahmanorelijahmanor(1448) 18 days, 7 hours ago

A while back someone on twitter was asking me how they might find a set of DOM elements by using doing a partial search on their HTML5 data attribute... read more...

1 comment |category: |Views: 125

tags: another

xUnit Theory, the Data Driven Unit Test(www.tomdupont.net)

submitted by tduponttdupont(1259) 1 month, 13 days ago

A good set of unit tests often end up reusing the same code with varied inputs. Rather than copy and paste that test code over and over, we can use the pattern of data driven unit tests to help streamline our test fixtures. This is the practice of having a single test definition be invoked and count as multiple tests at run time. This also enables us to do other dynamic things, such as configuring our unit tests from external sources. :) I love NUnit, but it does not offer data driven unit tests. I frequently use MSTest, but it's data driven tests inconveniently require you to define a DataSource. Meanwhile xUnit offers several lightweight and simple options for defining data driven tests, which it refers to as theories. read more...

add a comment |category: |Views: 4

tags: another

Writing integration tests for ASP .NET with Selenium – Part 1(nizarnoorani.com)

submitted by noorani786noorani786(342) 1 month, 15 days ago

The first in a series of blog posts that will discuss how to setup, configure and write integration tests for ASP .NET using Selenium. read more...

2 comments |category: |Views: 214

tags: another

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

submitted by dpetersondpeterson(4397) 1 month, 16 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: 621

tags: another

Migrating from NUnit to xUnit(www.tomdupont.net)

submitted by tduponttdupont(1259) 1 month, 18 days ago

If you are currently using NUnit to write your unit tests, then it is not at all difficult to migrate to using xUnit. The philosophical difference between the two is simply this: with xUnit you need to think of your tests as objects, rather than of methods. Here is a visual representation of equivalent test setups between NUnit and xUnit... read more...

2 comments |category: |Views: 198

tags: another

A recipe for Dev to Production with ASP.NET MVC and RavenDB(devdirective.com)

submitted by RobertTheGreyRobertTheGrey(447) 1 month, 25 days ago

Been meaning to spend time looking into a NOSQL solution, but don't have time to do the research? Now is your chance! We've broken it down for you so you can get at this topic from dev to production. So, don't be tentative and let procrastination hold you back. Learn this stuff! You'll be happy you gave it the time it deserves... read more...

2 comments |category: |Views: 243

tags: another

Configuring Bundles in MVC 4(www.tomdupont.net)

submitted by tduponttdupont(1259) 1 month, 26 days ago

The bundling, compression, and minification of JavaScript is important to the speed and performance of modern websites. This is why I was so excited to hear that such features were (finally) coming built in to ASP.NET MVC 4. Introducing MvcBundleConfig: a project that adds configuration and debugging features to MVC 4's bundling framework, and meets the needs and wants of a good minification framework. read more...

2 comments |category: |Views: 156

tags: another

Agile is a Sham(williamedwardscoder.tumblr.com)

submitted by pwhe23pwhe23(972) 1 month, 27 days ago

Agile is a Sham. Thats SCRUM and TDD and all the rest; it is all those new ways of managing development projects and being super-productive and modern and buzzword-compliant; all the sprints, scrums, playing cards crass commercial nonsense. read more...

12 comments |category: |Views: 448

tags: another

ASP.NET MVC4, WebAPI, and Razor are now all open source!(www.hanselman.com)

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

Microsoft just announced today that they are open sourcing ASP.NET MVC 4, ASP.NET Web API, ASP.NET Web Pages v2 (Razor) all with contributions under the Apache 2.0 license. The source code is available on codeplex. This is great news for ASP.NET developers! read more...

2 comments |category: |Views: 214

tags: another

Browser Specific TestFixtures Sharing Tests(www.tomdupont.net)

submitted by tduponttdupont(1259) 3 months, 6 days ago

How to share Tests across browser specific TestFixtures with WebDriver. When writing a unit test to test a webpage, you will want to duplicate that test against multiple browsers. How do we do accomplish this feat? Inheritance! read more...

add a comment |category: |Views: 5

tags: another

Sharing a WebDriver across TestFixtures(www.tomdupont.net)

submitted by tduponttdupont(1259) 3 months, 16 days ago

WebDriver (also known as Selenium 2.0) is a web testing tool that is both useful and easy, which is a very rare find. If you are doing web development with ASP.NET, you need to take 30 minutes of your time and go try out WebDriver. That is all the time it will take to get you hooked. To launch a browser you need only new up a Driver object for that browser. I used to create a new Driver in my TestFixtureSetup, and then close and dispose of that in the testFixtureTearDown. However now that Firefox does not persist my windows login credentials it can be very frustrating to have to log back in for every test fixture. A solution to this problem is simply to share a single WebDriver across multiple TestFixtures. Fortunately NUnit's SetUpFixture makes this very easy to do. read more...

1 comment |category: |Views: 40

tags: another

Configuring MVC Routes in Web.config(www.tomdupont.net)

submitted by tduponttdupont(1259) 6 months, 23 days ago

By simply reading routes out of the Web.config you provide a way to control routing without having to redeploy code, allowing you to enable or disable website functionality on the fly. read more...

add a comment |category: |Views: 8

tags: another

Using the InternetExplorerDriver for WebDriver(www.tomdupont.net)

submitted by tduponttdupont(1259) 7 months, 9 days ago

Are you getting this error when trying to use the InternetExplorerDriver for WebDriver (Selenium 2.0)? "System.InvalidOperationException: Unexpected error launching Internet Explorer. Protected Mode must be set to the same value (enabled or disabled) for all zones. (NoSuchDriver)" Don't worry, it's easier to fix than it sounds... read more...

add a comment |category: |Views: 32

tags: another

15 Awesome ASP.NET Tips(www.dotnetcurry.com)

submitted by mopenmopen(3596) 9 months, 21 days ago

Some cool ASP.NET tips and tutorials you will find useful read more...

1 comment |category: |Views: 97

tags: another