How to build architecture based on microservices. What is Azure Service Fabric, and how this technology help us to build stateless and statefull services. How to start with actor-based programming. How to use also *.Apps and containers in microservices world. And of course – how to deal with many, many objects and components in our application.
Level: 300 (ok – 200, because I will explain basic concepts – but on the other hands those topic (especially around actors) are quite complicated)
From: http://net.developerdays.pl/
2. Azure PaaS v2 – Microservices,
Microsoft (Azure) Service Fabric, .Apps
Tomasz Kopacz, (Technical) Architect, Microsoft
3. Technical architecture for large application
What are Microservices?
How to implement microservices NOW
(Azure, *Apps etc.)
Move to 2016+ – and how we WILL be
implementing microservices
15. Web API
ASP.NET 5.0 MVC Web API (better for new projects!)
http://docs.asp.net/projects/mvc/en/latest/migration/migratingfromwebapi2.html
NancyFX
Mono
LightNode
34. public class MessageOrder {
public int A { get; set; } public int B { get; set; }
public string OrderId { get; set; }
}
public class Functions {
public static void PropertyBinding(
[QueueTrigger("initialorder")]
OR: [ServiceBusTrigger("sbqueue")]
[ServiceBusTrigger(“sbtopic", "mySubscription")]
MessageOrder initialorder,
[Blob("resultblobs/{OrderId}.txt", FileAccess.Write)] Stream blobOutput,
int A, int B, int dequeueCount, TextWriter log) {
string result = string.Format("{0} + {1} = {2}", A, B, A + B);
StreamWriter sw = new StreamWriter(blobOutput);
sw.WriteLine(result); ();
log.WriteLine("Operation: {0} + {1}", A, B); … } }
46. Microservices
Azure
Windows
Server
Linux
Hosted Clouds
Windows
Server
Linux
Service Fabric
Private Clouds
Windows
Server
Linux
High Availability
Hyper-Scale
Hybrid Operations
High Density Rolling Upgrades
Stateful services
Low Latency
Fast startup &
shutdown
Container Orchestration
& lifecycle management
Replication &
Failover
Simple
programming
models
Load balancing
Self-healingData Partitioning
Automated Rollback
Health
Monitoring
Placement
Constraints