Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

JMK NI

@JMK NI
About
Posts
585
Topics
102
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Guess who's back?
    J JMK NI

    Hello! I'm working on an article on ASP.NET 5 with AngularJS2 and Typescript, using Visual Studio. Planning to be publishing it this Sunday. Good to be back in the game :)

    The Lounge csharp javascript asp-net dotnet visual-studio

  • Hacking Team claims terrorists can now use its tools
    J JMK NI

    ...for free

    The Insider News html com collaboration tools

  • Stupid Computer
    J JMK NI

    I risk getting run out of town for suggesting this, but how about a Macbook? They are really well built, great for running Windows on, and the customer service is incredible. I don't think any of the other manufacturers even come close!

    The Lounge question adobe sysadmin architecture help

  • Typescript - waow!
    J JMK NI

    Sure. Well, first of all I am working with a .net back-end, so doing all of my coding in Visual Studio (2015 RC). Visual Studio 2015 + ReSharper + Web Essentials which provides a really nice environment for working with Typescript. For my API, server side, I am using ServiceStack. ServiceStack have created a Visual Studio plugin to generate a DTO in Typescript based on your API. You write your API, run this program, and you have an interface for every Request and Response object in your API. There is a Typescript project called DefinitelyTyped. It provides type definitions for all of the frameworks I am using, which for this project are: - AngularJS - Angular UI Router - Angular UI Directives for Bootstrap - AngularJS Toastr This means that you can write your client side code in Typescript, and everything is strongly typed. Here is an AngularJS service I wrote earlier today in Typescript:

    import CreateAdjustmentRequest = JobManager.Model.CreateAdjustmentRequest;
    import AdjustmentResponse = JobManager.Model.AdjustmentResponse;
    import HttpPromise = angular.IHttpPromise;
    import GetAdjustmentRequest = JobManager.Model.GetAdjustmentRequest;
    import GetAdjustmentsRequest = JobManager.Model.GetAdjustmentsRequest;
    import UpdateAdjustmentRequest = JobManager.Model.UpdateAdjustmentRequest;
    import DeleteAdjustmentRequest = JobManager.Model.DeleteAdjustmentRequest;

    export class AdjustmentService {

    httpService: angular.IHttpService;
    constructor(httpService: angular.IHttpService) { this.httpService = httpService; }
    
    getAdjustment(request: GetAdjustmentRequest):HttpPromise<AdjustmentResponse> {
        return this.httpService.get('/adjustments/' + request.Id);
    }
    
    getAdjustments(request: GetAdjustmentsRequest): HttpPromise<AdjustmentResponse\[\]> {
        return this.httpService.get('/adjustments/all/' + request.JobId);
    }
    
    createAdjustment(request: CreateAdjustmentRequest): HttpPromise<AdjustmentResponse> {
        return this.httpService.post('/adjustments/create', request);
    }
    
    updateAdjustment(request: UpdateAdjustmentRequest): HttpPromise<AdjustmentResponse> {
        return this.httpService.post('/adjustments/' + request.Id, request);
    }
    
    deleteAdjustment(request: DeleteAdjustmentRequest): HttpPromise<boolean> {
        return this.httpService.delete('/adjustments/' + request.Id);
    }
    

    }

    The Lounge javascript

  • Typescript - waow!
    J JMK NI

    I've been using Typescript over the past couple of days to build a new AngularJS app, and waow! It is amazing! If you work a lot with Javascript, and you haven't had a chance to play with Typescript, please check it out. That is all!

    The Lounge javascript

  • Slowly, I'm turning to the Dark Side...
    J JMK NI

    One word, typescript!

    The Lounge csharp javascript com career

  • Immigrants in France trying to 'sneak' into the back of a lorry
    J JMK NI

    Mental! - https://www.youtube.com/watch?v=syyl0gfNDRE[^]

    The Lounge com question

  • Programming interview problems
    J JMK NI

    11?

    The Insider News career com

  • I can't believe Microsoft developed a cross platform code editor
    J JMK NI

    No, really... https://twitter.com/stroughtonsmith/status/593462573497982976[^]

    The Lounge com

  • Speaking of TFS...
    J JMK NI

    When I said:

    JMK-NI:

    figure it out that way

    I didn't specify a timeframe :laugh:

    The Lounge design json help question

  • Speaking of TFS...
    J JMK NI

    Just get Wireshark/Fiddler on the go, MITM yourself (they use HTTPS) and figure it out that way. Then write any UI you want.

    The Lounge design json help question

  • TFS On Line UI
    J JMK NI

    It is a total shambles!

    The Lounge design help question

  • UK CodeProject Pints?
    J JMK NI

    So I'm thinking, us UK CodeProject users could agree on a location/time and all go out for a pint, and talk about things? How does that sound?

    The Lounge question

  • Holy s**f - Xamarin Forms!
    J JMK NI

    Quote:

    Looks like someone has a lot of money to waste.

    Nope! I have a Xamarin Indie subscription for iOS and Andriod ($50USD, about £30GBP per month). I am basically writing a Xamarin Forms for Windows Phone app inside Visual Studio 2013, and am debugging everything inside Visual Studio using the Windows Phone emulator to test. As far as I can tell, you can basically develop a Xamarin Forms for Windows Phone for free, it's when you want to target the other platforms that it starts to cost money. I have a Mac Mini, which cost me £400. So I develop for Windows Phone with Xamarin Forms in Visual Studio, and when I am happy, push that code over to my Mac. Then I use Xamarin Studio on my cheapo Mac to push the same code to the Android and iOS emulators on that mac, and it works, which is insanely cool! I am the definition of shoestring app development. I would love to go for pints with you guys though, we should totally make that happen! :)

    The Lounge csharp c++ android ios mobile

  • Holy s**f - Xamarin Forms!
    J JMK NI

    I've been getting my head into Xamarin this weekend, and wow! It's freaking awesome! I've always been torn on Xamarin, because I believe there's a real value in being able to write code natively, using the native programming language/framework etc for that platform, and have viewed as Xamarin kind of a cop-out developer wise. I thought that using .net to develop for Andriod and iOS showed an unwillingness to learn. But after playing with Xamarin and Xamarin Forms for a few days, I am f***b**ing sold! Being able to write one codebase targeting Windows Phone, iOS and Android is just incredible! Batman...er I mean Xamarin![^]

    The Lounge csharp c++ android ios mobile

  • Say what you like about Schwarzenegger
    J JMK NI

    Say what you like about Schwarzenegger, but he totally hits the nail on the head here[^] Obviously the context is bodybuilding, but I believe it totally applies to programming...or basically anything.

    Arnie:

    When you’re out there partying & horsing around, someone out there at the same time is is working hard, someone is getting smarter, and someone is winning. Just remember that.

    The Lounge com question

  • Final Phase
    J JMK NI

    The next version of this week will take you to the land of milk and honey...it may disrupt the space-time continuum...but don't worry about that, it's gonna be great! :beer:

    The Lounge

  • Final Phase
    J JMK NI

    This week failed QA though, we can't ship it until next week!

    The Lounge

  • Why monday comes in programmers life
    J JMK NI

    I don't have to think about Monday for another two whole days! That's, like, forever...right? :suss:

    The Lounge question

  • Mysteries
    J JMK NI

    Didn't he already solve the DB Cooper case?[^]

    The Lounge com code-review
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups