Great sources to get started and to look back at. Covers everything from scaffolding to ef concurrency management.
Getting Started with ASP.NET MVC 5
Getting Started with Entity Framework 6 Code First using MVC 5
Great sources to get started and to look back at. Covers everything from scaffolding to ef concurrency management.
Getting Started with ASP.NET MVC 5
Getting Started with Entity Framework 6 Code First using MVC 5
Great articles by Ben Thompson at Stratechery
var json = elasticClient.RequestResponseSerializer.SerializeToString(request);Great for debugging and finding out what json you are sending.
class MyData { public string name {get;set;} } // Sender [FunctionName("Send")] public static void Send(..., [ServiceBus("%Topic%")] out BrokeredMessage brokeredMessage, ...) { ... MyData myData = new MyData(); string bodyJson = JsonConvert.SerializeObject(myData); brokeredMessage = new BrokeredMessage(bodyJson); brokeredMessage.Label = "My routing info"; ... } // Receiver [FunctionName("Receive")] public static void Receive([ServiceBusTrigger("%Topic%", "%Subscription%")] BrokeredMessage brokeredMessage, ...) { ... string bodyJson = brokeredMessage.GetBody<string>(); MyData myData = JsonConvert.DeserializeObject<MyData> (bodyJson); ... }
If you got a DTO and want camelCase json when returning data.
Is there a way to alias response model properties in ASP.Net Web API