Category: .NET

  • .TT – add more informations(.NET version,build ) – part 6 of 7

    As you can see from the previous chapter,we have added to the AssemblyDescription more informations – like .NET version,build configuration,and more You can see those with an explorer add-on http://www.codeproject.com/Articles/118909/Windows-7-File-properties-Version-Tab-Shell-Extens Video : http://youtu.be/A_qSdVV93qk Demo project here : https://traceabilitydemo.codeplex.com/releases/view/132231 Source code here : https://traceabilitydemo.codeplex.com/SourceControl/changeset/view/110446

  • Traceability in .NET–.tt files–add changeset – part 5 of 7

    We wish to add,from the .tt file,the id of the last TFS checkin. For this purpose we will connect to TFS and we will investigate in the current project the latest change. We will use the facility of .tt file to connect to the host and ask for various features ( such as TFS )…

  • Traceability in .NET–.tt files–add build date– part 4 of 7

    Firstly we propose that build can automatically put the data in AssemblyVersion. For this you will need somehow to generate the current date. We can do this in several ways – for example,a post build event. We will use a .tt file that will automatically generate this date. We will use for other things –…

  • 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…