Handle multiple button post

razor: <form action=”” method=”post”> <input type=”submit” value=”Save” name=”action:Save” /> <input type=”submit” value=”Send” name=”action:Send” /> </form> and controller: [HttpPost] [MultipleButton(Name = “action”, Argument = “Send”)] public ActionResult Send(MessageModel mm) { … } [HttpPost] [MultipleButton(Name = “action”, Argument = “Save”)] public ActionResult Save(MessageModel mm) { … } Share the joy     

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

Design Patterns: Abstract Factory

What is it This week we’re going to be taking a look at the abstract factory pattern, which allows us to create families of related products to be used together within their implementation. The pattern automatically enforces this behaviour of using only related products together, which allows multiple families of products to be switched between easily….

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

Load balancing in Azure

Load balancers manage how network traffic is distributed across an application. Load balancers are essential in keeping your application resilient to individual component failures and to ensure your application is available to process requests. For applications that don’t have service discovery built in, load balancing is required for both availability sets and availability zones. Azure…

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

Azure Log analytics for custom application logs

Contents of this article Add a custom log Search a custom log Custom fields Search custom fields Conclusion The Log Analytics agent can log data that applications and scripts create, called custom logs. Collecting custom logs allows for searching, reporting, and alerting beyond the default event log and syslog data. Additionally, you can create custom…

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

Scaling the Real-time Web with ASP.NET SignalR

SignalR made the real-time web incredibly simple for .NET programmers, but we’re not standing still. Version 1.1 brought improved performance and scale-out support via SQL Server, Redis, and Windows Azure Service Bus. But there’s more to SignalR scale-out than just this. What are the best strategies based on your application type? Version 2.0 continues the…

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

Modernizing existing .NET applications with Windows Containers and Azure cloud

In this talk, we’ll show why you’d want to modernize your existing .NET apps (traditional ASP.NET WebForms to MVC apps) with Windows Containers and Azure Service Fabric. What are the benefits you get with those new technologies and how you can actually implement it and move it to the cloud quickly, showing you many demos…

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

MicroServices with .Net Core and Docker containers- Part 2

 When architecting and implementing microservice-based applications, you can face challenges derived from the complexity of distributed computing. Learn how to tackle those challenges with well-established microservice architecture patterns and about implementation with .NET Core and Docker containers provided by Microsoft. Share the joy     

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

MicroServices with .Net Core and Docker containers- Part 1

  This session shows how to implement with .NET Core an end-to-end application based on microservice architecture patterns and Docker containers. It focuses on the microservice’s challenges and how to solve them by implementing patterns (resiliency, domain model, communications, etc.) in .NET Core. It showcases the eShopOnContainers Source Code at GitHub: https://github.com/dotnet-architecture/eShopOnContainers Share the joy     

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading