tryfailretry

Stories kicked by tryfailretry

Introduction to NCover, setting up for analysis(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 6 months ago

Taking a quick look at how to setup and use the NCover code coverage and analysis tool. Having the knowledge of the state of your code, is key to understanding the potential success and failures in your code. If having this knowledge is key to you, NCover is a great tool to help you better gain this knowledge read more...

1 comment |category: |Views: 243

tags: another

twitter apis from c# and asp.net(codingstuffsbykiran.blogspot.com)

submitted by kirankkirank(175) 2 years, 6 months ago

You can integrate you Twitter using C# , its very easy and user friendly API read more...

add a comment |category: |Views: 9

tags: another

Virtual Router – Turn any Windows 7 PC into Wireless Access Point(pietschsoft.com)

submitted by crpietschmanncrpietschmann(11.3k) 2 years, 6 months ago

It’s an app that unleashes the “Virtual WiFi” and Wireless Hosted Network features of Windows 7 to turn a PC into a Wireless Access Point or Hot Spot. Well, I looked into what it would take to build such an app, and it really wasn’t that difficult since Windows 7 has all the API’s built in to do it. After some time of looking things up and referencing the “Wireless Hosted Network” C++ sample within the WIndows 7 SDK, I now have a nice working version of the application to release. I’m calling this project “Virtual Router” since it essentially allows you to host a software based wireless router from your laptop or other PC with a Wifi card. Oh, and did I mention that this is FREE and OPEN SOURCE! read more...

1 comment |category: |Views: 114

tags: another

Pattern focus: Decorator pattern(blog.lowendahl.net)

submitted by lowendahllowendahl(750) 2 years, 6 months ago

The decorator pattern is a pretty straightforward pattern that utilizes wrapping to extend existing classes with new functionality. It’s commonly used to apply cross-cutting concerns on top of business classes, which avoids mixing that up with the business logic. Frameworks like Spring.Net uses this pattern to apply it’s functionality to your classes. read more...

add a comment |category: |Views: 18

tags: another

Performing Static Page Checking in MVC(dimecasts.net)

submitted by tryfailretrytryfailretry(90) 2 years, 8 months ago

Taking a look at how you can setup Static Type checking within your ASP.Net MVC web project. Having static checking is a great asset as it can reduce the chances of run time errors due to refactoring. Static checking will also allow the compiler to verify all your strongly typed objects are being called correctly. read more...

add a comment |category: |Views: 203

tags: another

Managing Parent/Child relationships with NHibernate (Inverse managemen(blog.lowendahl.net)

submitted by lowendahllowendahl(750) 2 years, 8 months ago

When working with parent/child relationships in object models it is important to know what kind of Inverse Management your ORM technology have. Inverse management means handling all the relationships and keys shared between the parent and the child. This post will help you understand how NHibernate manages these relationships and what options you have. read more...

add a comment |category: |Views: 40

tags: another

Isolation Frameworks: Learning to use Partial Mocks(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 8 months ago

Taking a look at how to use Partial Mocks to test abstract classes and methods within a concrete class read more...

add a comment |category: |Views: 205

tags: another

Design Patterns – Using the Observer Pattern in C#(dotnetcube.com)

submitted by dncdudedncdude(1350) 2 years, 8 months ago

The Observer Pattern belongs to the category of Behavioral patterns. In some applications, the state of an object (the subject) is constantly changing (Ex: the price of a product varies depending on market demand). There could be other objects (observers) that are interested in getting notified when the state of the subject changes. The Observer Pattern can be used to communicate the changes between a subject and one or more observers. The Observer Pattern defines a one to one dependency between the subject and the observers so that when a subject changes state, all the observers are notified. read more...

add a comment |category: |Views: 332

tags: another

Copy and Paste programming - A bad habit(msmvps.com)

submitted by JoacimJoacim(255) 2 years, 8 months ago

I usually stay away from religious discussions when it comes to programming habits and technology choices simply because they don’t usually make any sense at all and are most often just based on emotions. Arguing if VB.Net is better or worse than C# is just nonsense in my book since the differences between them are minor. They both target the same platforms, and use the same framework, of course there are differences but none of them are so great th. read more...

1 comment |category: |Views: 486

tags: another

Introducing PostSharp 2.0: #1 - NotifyPropertyChanged (postsharp.org)

submitted by gfraiteurgfraiteur(988) 2 years, 8 months ago

Gael Fraiteur does first revelations about PostSharp 2.0 on a real-life example: implementing the INotifyPropertyChanged pattern with an aspect. Be safely seated! read more...

add a comment |category: |Views: 506

tags: another

Design Patterns – Using the Builder Pattern in C#(dotnetcube.com)

submitted by dncdudedncdude(1350) 2 years, 8 months ago

The Builder Pattern falls under the category of the Creational Patterns as it controls the instantiation of a class. This pattern is suitable in scenarios in which an object is made up several parts and the constituent parts need to be created in the same order using an algorithm. A real world example is in making a pizza. A pizza is made up of several parts (the crust, cheese and the toppings) that are constructed using an algorithm (bake the crust, add cheese and add the toppings). read more...

add a comment |category: |Views: 410

tags: another

Learning the Specification Pattern(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 8 months ago

Taking a look at how to use the specification pattern. Business logic is the heartbeat of our application. It is what makes your application worth something to the business. In this episode we will explore the Specification Pattern and see how this simple pattern take your complex business logic and turn it into a more manageable and readable piece of art. read more...

add a comment |category: |Views: 417

tags: another

Why Git?(ayende.com)

submitted by ferventcoderferventcoder(836) 2 years, 8 months ago

I have been using Git for the past week or so, enough to get a good handle on its benefits and disadvantages. I moved to Git from Subversion, after having done a stint of almost 6 years of using Subversion. A stint which also included doing some development on Subversion. Despite appearances, I actually took a fairly structured (and long running) approach to learning Git, I got a book and read it, I played around with it, and I mostly dismissed it as “it isn’t solving my problem” and “I already know how source control works”. read more...

add a comment |category: |Views: 598

tags: another

Design Patterns – Using the Abstract Factory Pattern in C#(dotnetcube.com)

submitted by dncdudedncdude(1350) 2 years, 8 months ago

The Abstract Factory Pattern provides an interface for creating families of related objects without specifying their concrete classes. The Abstract Pattern makes sure that the client does not know anything about the objects being created. The pattern hides the implementation of the product definitions and their class names and the only way the client can create a product is through the factory. read more...

add a comment |category: |Views: 452

tags: another

Isolation Frameworks: Mocking Out/Ref Arguments(dimecasts.net)

submitted by dwhittakerdwhittaker(13.1k) 2 years, 8 months ago

Continuing our series on learning how to use an isolation framework (Rhino Mocks) to help create simpler and more reliable unit tests. In this episode we are going to focusing on how to setup you mocks when you need to mock a class with either Out or Ref arguments read more...

add a comment |category: |Views: 131

tags: another

Booting from a VHD(blogs.msdn.com)

submitted by CharlieCalvertCharlieCalvert(7875) 2 years, 8 months ago

Hosting an OS in a virtual machine can be very useful for developers, but sometimes one pays a price in terms of performance. In Windows 7 developers can get improved performance in virtual machines by native booting a VHD. First create a Virtual PC that hosts Windows 7, then restart your computer, and finally boot directly into the VHD that contains the Windows 7 OS. When you native boot a VHD your virtual machine runs very close to the metal; performance is greatly enhanced and you have much better support for OS features that may not be available inside a standard Virtual PC. read more...

add a comment |category: |Views: 298

tags: another