Questions tagged [.net-core]
.NET Core is a lean, composable and cross-platform framework for building web and cloud applications. It is fully open source and available on GitHub (https://github.com/dotnet/core). Applications in .NET Core can be run and/or hosted on Linux and MacOS under .NET Core.
92
questions
1
vote
1
answer
2k
views
Domain Driven Design: Should Specification Pattern exist in Repository or Application level for Paging?
In Domain Driven Design, should the specification pattern for paging/pagination exist on the Repository level or Application level, or another layer? Trying to see what Eric Evans author of DDD stated....
1
vote
1
answer
120
views
How to properly handle deployment configuration for Xamarin Forms app
We are currently working on a Xamarin Forms (.NET Core) application. We use Microsofts DevOps for the code repo, building and deployment.
Since we want to test newly developed features in a safe ...
6
votes
3
answers
4k
views
Why is it necessary for every new api to be async?
I'm expressing my frustration here somewhat, but why do many new libraries only have asynchronous APIs? For example I'm creating a small utility to fetch a web page and parse some data from it. ...
0
votes
0
answers
77
views
How to send messages in the order they were queued, while ensuring that client B does not have to wait until client A has received his message?
I have a simplified producer/consumer pattern implemented below. The code outputs:
"A"
1 second delay
"B"
1 second delay
"A"
1 second delay
"B"
...
What ...
-3
votes
3
answers
1k
views
Hosting a standalone .Net Core Web Application
We've created a .Net Core Web Application and are deploying it as a stand-alone exe. The main reason for deploying it stand-alone was to not be dependent upon the version of .Net Core installed on the ...
0
votes
1
answer
86
views
A RESTful API for internal company system accessing peripheral devices
I am currently working on an internal storehouse management system for a certain company.
They wanted it to be a web app so that they can use it without installation on any devices.
We decided to ...
1
vote
1
answer
640
views
Throttling the factory function of a Lazy<T> instantiated with LazyThreadSafetyMode.PublicationOnly
When you use the constructor of Lazy<T> requesting the valueFactory and mode parameters (I mean this one) you can specify LazyThreadSafetyMode.PublicationOnly.
This way you can prevent the Lazy ...
5
votes
2
answers
3k
views
C# extension methods design patterns and usage guidelines?
C# extension methods have seen a rise in usage over recent years. The offical microsoft guidelines on usage state: "In general, we recommend that you implement extension methods sparingly and only ...
4
votes
1
answer
178
views
Architecture to lock account to mobile device
I'm currently creating a mobile app and have the following issue.
I am required to only allow the user to login from a device that is registered to the users account. A user can have up to X number of ...
1
vote
4
answers
4k
views
Service Oriented Architecture (SOA): One Database or Multiple Databases?
In Service Oriented Architecture (SOA), should there be One Single Database "with the share as much as possible philosophy" or Multiple Databases by Service/functional area?
I know in Microservices, ...
0
votes
0
answers
179
views
Real-time application and RDBMS bottleneck
I'm currently developing a real-time application using .NET Core 2.2. Many IOT devices (could be up to 100) are concurrently sending messages via MQTT. These messages are parsed, elaborated to extract ...
1
vote
1
answer
853
views
Data entities in Onion Architecture
I'm trying to build a project using onion architecture (just a "Northwind"ish type app to get more up to speed with .NET Core). I also want to get a better grasp on Onion Architecture principals. I ...
3
votes
1
answer
345
views
Internationalization in .net core
I am currently in the process of developing an ASP.NET Core application which requires internationalization to Russian.
I have been reading over the documentation that Microsoft provide for .NET Core ...
0
votes
2
answers
256
views
Can I build a fully open source app with .Net Core [closed]
I am thinking about starting an open source project and right now I am deciding what technology stack to use.
At the moment, my main coding experience is using C# and I am wondering if I can build a ...
1
vote
1
answer
245
views
Why do some eShopOnContainers Service API Unit Tests not reference API classes only WebMVC? [closed]
I have been trying to learn more about MicroServices architecture and I am using Microsoft's eShopOnContainers as a reference because I am familiar with .NET. I am getting into the part about testing, ...