Lear

Stories kicked by friends of Lear

Why Do "Not Windows Store"?(rapidapplicationdevelopment.blogspot.com)

submitted by LearLear(1195) 8 months, 7 days ago

On Friday we released an open source alternative to the Windows Store for Windows 8 Apps called the "Not Windows Store". Why? Will people even want unverified apps? Aren't multiple app stores a detriment to end users? read more...

2 comments |category: |Views: 95

tags: another

Integrating JavaScript and C# with Script#(rapidapplicationdevelopment.blogspot.com)

submitted by LearLear(1195) 9 months, 3 days ago

Have you ever had an enum in your server code that you wanted to access in client side code? Or wanted the safety of compile time errors when there are discrepancies between your server-side and client-side code? Or had a C# Data Transfer Object (DTO) that you wanted to enable Intellisense for in JavaScript? I hadn't found a good solution either ... until now. read more...

add a comment |category: |Views: 29

tags: another

Death to the DAO and How to Test LINQ (rapidapplicationdevelopment.blogspot.com)

submitted by LearLear(1195) 1 year, 10 months ago

Occasionally I hear complaints that LINQ is hard to unit test. These complaints aren’t about LINQ to objects, mind you, they’re specific to the complexities of the flavors of LINQ that turn C# code into something else like SQL or CAML using expression trees. The most common technologies are LINQ to SQL, the Entity Framework, or in my case at the moment LINQ to SharePoint. In this post I’m going to propose a technique that makes testing LINQ not just easy, but downright elegant – assuming you’re ok with extension methods – lots of extension methods. And assuming you’re ready to kill your Data Access Objects (DAO) tier. read more...

add a comment |category: |Views: 438

tags: another

SharePoint 2010 Expectations Meet Reality(rapidapplicationdevelopment.blogspot.com)

submitted by LearLear(1195) 2 years, 7 months ago

A list of ten current SharePoint failures (such as testability, lack of referential integiry, poor usability, etc), and how SharePoint 2010 resolves or fails to resolve each one. read more...

add a comment |category: |Views: 13

tags: another

TFS Sucks, here is a list why(nearinfinity.com)

submitted by josephfjosephf(235) 2 years, 8 months ago

If you are thinking about using TFS here is a list of reasons why TFS sucks for SCM. Any suggestions on making these annoyances go away is very welcome. read more...

14 comments |category: |Views: 2446

tags: another

Unit Testing SharePoint - Past, Present, and Sporm(rapidapplicationdevelopment.blogspot.com)

submitted by LearLear(1195) 2 years, 8 months ago

As I described in SharePoint: The Wild West of Software Development there is a serious problem when you develop for SharePoint: ensuring quality through unit testing is really, really hard. And that's where a new open source tool just released today called sporm (SharePoint Object Relational Mapper) comes in. While sporm provides many benefits besides simplified unit testing I wanted to focus on this topic first, because sporm's approach, which models the entity framework in the way it supports POCO's, is a unique feature not available with other SharePoint tools like LINQ to SharePoint. read more...

add a comment |category: |Views: 8

tags: another

SharePoint: The Wild West of Software Development(rapidapplicationdevelopment.blogspot.com)

submitted by LearLear(1195) 2 years, 9 months ago

Some argue that Microsoft developers lack rigor -- that techniques like unit testing and continuous integration are virtually unheard of in this space. That’s rubbish. I would be shocked if the percentage of developers that track code coverage is significantly different for the .Net or Java spaces (not quite mainstream, but respectable). Mind you I’m talking .Net development in general. SharePoint, now that’s another story. read more...

1 comment |category: |Views: 326

tags: another

Secrets of SharePoint 2010 Exposed at TechEd 2009(rapidapplicationdevelopment.blogspot.com)

submitted by LearLear(1195) 3 years ago

The details of SharePoint 2010 are under tight wraps. If you asked any of the presenters at Tech Ed the typical response was "I have no idea what you're talking about." But that doesn't mean presenters didn't occasionally slip up or say more than they probably should have. read more...

add a comment |category: |Views: 14

tags: another

Add an action to a SharePoint list actions menu for a specific list(nearinfinity.com)

submitted by josephfjosephf(235) 3 years ago

If you have ever tried adding a SharePoint custom action to the actions menu and tried using "List" or "ContentType" as the "RegistrationType" and then tried to specify a specific list or content type in the "RegistrationId" you know that it doesn't work. SharePoint will silently not render your custom action. If you try and target a generic list using a "RegistrationId" of "100" you will see that SharePoint will gladly render your action on every list in the site. I have found a rather kludgy work around to the problem. read more...

add a comment |category: |Views: 41

tags: another

Code Access Security Cheat Sheet(rapidapplicationdevelopment.blogspot.com)

submitted by JShimtyJShimty(15) 3 years ago

A full page cheat sheet on Code Access Security (CAS). Includes screenshots of the .NET Framework 2.0 Configuration tool. Describes the following terms: Permission, PermissionSet, Code Group, Policy Level, Assembly Instance, Evidence; and Evidence Type. read more...

add a comment |category: |Views: 28

tags: another

Is F# faster than C#(nearinfinity.com)

submitted by josephfjosephf(235) 3 years, 5 months ago

I had a bet with a co-worker that C# would out perform F# for a simple counting exercise. This turned out to be quite a surprise for many reasons. In this blog post I will try to explain why. read more...

add a comment |category: |Views: 776

tags: another

TryParseGuid - Try/Catch vs Regex(nearinfinity.com)

submitted by LearLear(1195) 3 years, 6 months ago

Need to TryParse a Guid? Guess which is faster: try/catch or Regex.Parse. The results may surprise you. read more...

add a comment |category: |Views: 60

tags: another

A Major Silverlight PITA, and Two Annoying 3.0 Limitations(rapidapplicationdevelopment.blogspot.com)

submitted by LearLear(1195) 3 years, 11 months ago

Did you know Silverlight implements the Visible property as an enumeration not a Boolean? That leads the author to find two frustrating .Net 3.0 limitations: No ByRef Extension Methods, and no ByRef Automatic Properties. read more...

2 comments |category: |Views: 159

tags: another

RemoteLINQ - How to make your LINQ span the globe(nearinfinity.com)

submitted by LearLear(1195) 4 years ago

After reading John Skeet's blog about Generating Mandelbrot images using PLINQ (Parallel LINQ) the author got the idea to build his own LINQ extension. Instead of just splitting the work across processors like PLINQ does, RemoteLINQ splits it across multiple machines. read more...

add a comment |category: |Views: 166

tags: another

Performance: LINQ to XML vs XmlDocument vs XmlReader(nearinfinity.com)

submitted by LearLear(1195) 4 years ago

Compares speeds of XML parsing techniques. Ultimately XmlReader beats LINQ to XML in almost every run except for very small XML documents. What's interesting though is how the numbers scale between text encodings. read more...

add a comment |category: |Views: 1019

tags: another

How System.Linq.Where() Really Works(rapidapplicationdevelopment.blogspot.com)

submitted by LearLear(1195) 4 years, 2 months ago

The new Where() extension method in Linq to Objects is extremely powerful. It also has some unexpected behavior. Do you know how it really works? read more...

add a comment |category: |Views: 77

tags: another