Category: .NET

  • Tracebility in .NET -source control – part 3 of 7

    Adding version with Source Control This depends on what source control do you use . We will not discuss this in details – it is enough to searchAssemblyVersion. For TFS or SVN you can use https://github.com/loresoft/msbuildtasks : TfsVersion si SvnVersion You can use command line too : http://www.woodwardweb.com/vsts/determining_the.html Full tutorial with powershell you can find…

  • Traceability in .NET – 1 of 7

    What is traceability? From Wikipedia,http://en.wikipedia.org/wiki/Traceability : Traceability is the ability to verify the history,location,or application of an item by means of documented recorded identification. We define traceability in software tracking capabilities and implementation of software components to know exactly: 1 The date the component was done (so that we can reproduce the source code) 2…

  • ASP.NET MVC–find error

    I am moderator and a frequent answerer at forums.asp.net . Mostly of time the error is in thinking that database connection errors belong to MVC – or other things that are part of the .NET framework,not of MVC . However,I must write here the most confusing problem  that I have encountered: <start quoting> “I have…

  • Foursquare–part 4–conclusions

    Part 1: beginning using API: http://msprogrammer.serviciipeweb.ro/2014/01/27/foursquarepart-1-of-4/ Part 2: Trying PC version: http://msprogrammer.serviciipeweb.ro/2014/02/16/foursquarepart-2-of-4/ Part 3: Improving PC version: http://msprogrammer.serviciipeweb.ro/2014/02/24/foursquarepart-3-of-4/ Part 4: conclusions( this blog post)   First conclusion : web is media of choice . The programmers makes API easier for connecting via Web,not via every device. ( although FourSquare have developed native classes  for IOS…

  • Solving “No parameterless constructor defined for type of ‘System.String’.”

    TL;DR If you have the problem No parameterless constructor defined for type of ‘System.String’! just add the DeserializeObject and InterceptError functions,add this 2 lines: watch the debug window and you will see the problems marked with !!! ( See also video at http://youtu.be/7oZ37pnSNtM) Long story: I wanted to do a tutorial for obtaining data from…

  • Foursquare–part 1 of 4

    I have decided to log my daily routine from FourSquare .  I decided to make a Web application and a desktop application ( console,to be easiear) . As a good application,4Sq have an API at https://developer.foursquare.com/ . I suggest you to start with conecting to 4Sq,https://developer.foursquare.com/overview/auth . For WebServers,you will redirect the user to  an…

  • Javascript MVVM and ASP.NET MVC

    TL;DR; The purpose of this article is to show is how to transmit data to edit( create,update,delete) from a MVVM array to an ASP.NET MVC action in order for the action to bind to an IEnumerable/Array/List of objects. We will make also a javascript function that can be re-use across multiple MVVM frameworks to transmit…

  • Dependency injection choice

    For a personal pet project I have needed a DI framework . It relates to WebApi – I need to switch the provider for web api between a console and web – mostly authentication / logging different. Some years ago was only StructureMap – but now there are a lot. So I started to investigate…

  • SameId – skip

    In the previous post I have show how two users can see each other if they are editing the same product ( in my example,product id 5) But not in all cases the users should be notified about each other – like in,let’s say,view product Id 5. In this case we have an attribute to…

  • Same object edited by 2 users–proactively notifying users

    This is a practical example about how two users that comes on the same page will be notified one about other( after an idea of Adrian Petcu) . See the picture : With the NuGet package you can install in your application in this steps: To run : 1. install package from Nuget 2. in…