I wrote my own ORM that basically combines the ideas behind Dapper with a reflection based query builder: https://github.com/docevaad/Chain/wiki/A-Chain-comparison-to-Dapper
But what you probably want to try first is Dapper's SQL Builder. https://www.nuget.org/packages/Dapper.SqlBuilder/
I run a couple of .NET core web apps w/ a postgresql db on a digital ocean droplet (linux vm) running ubuntu for about $20 a month. Honestly I could downscale to a cheaper VM w/o problems. If you're up for a minor amount of nginx setup it works really well.
Yup. That's the gist. :)
Also, there will always be a lot of suggestions to use Docker, but I think it's important to get an understanding of how to configure without Docker first. So you can see what it's actually automating.
And if you haven't done dotnet with a DB before, I suggest starting with Entity Framework Core + SQLite. It will create a .db file on the file system that it uses instead of an actual DB engine. Easier to set up when starting out.
You'll need this package: https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.Sqlite/
Auth0 has some great articles on using OAuth flows (which identity server supports). Here's a good starter:
https://auth0.com/docs/authorization/which-oauth-2-0-flow-should-i-use
​
I'd recommend looking at 'Auth Code with PKCE' first. This would require you to open a browser from the WPF app to login. Then you can keep all the login behaviors contained to the authorization server. If you want to change the rules, UI, etc. - you just change them there and don't have to worry about the WPF client. It can be a little more jarring for the user - they'll have to click some "login" button, which will launch a browser window in the app.
However, that's going to be a more complicated approach. If you're 100% confident in the security of the client machines running the WPF app, you could use 'Resource Owner Password Credentials Grant' flow. This is an older flow and most recommend against it. I believe the Identity server guys have hinted that support for this may be dropped in a future version as well.
Visual Studio Community is free unless you’re an enterprise or have a team of more than 5 developers using it.
If you’re doing this solo or in a very small team/business, you’re fine.
If you scroll down on this page it’ll have more details and a link to license terms.
>And almost all of common vpn ports are blocked.
There are some providers which will enable you to connect to the VPN on a custom port, like Mullvad with Wireguard. I used it a few years back, when my university's network admin disabled every outgoing port except HTTP/80 and HTTPS/443
That is the only helpful info I can provide, sorry.
That's just a summary. What you really want to get is the published book.
Install the package using package manager console or Nuget package manager
https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.Design/
Just mentioning as using will not resolve the error
Yep, they can either be an IDP like AAD, or as a federation provider. It works great for us. We don't use them as a IDP at all.
We have some customers on AAD, some on Okta, others using homegrown stuff, etc.
We basically setup an application, setup a connection, and are ready to roll. We also use the API connection in case the ID Token isn't parsable, but the raw claims are normally available on the client side libraries. It was maybe two sprints for 2 devs to fully integrate into our existing (massive enterprise) application including a number of business specific tweaks like updating downstream UI to disable password management if the user is a SSO user.
https://auth0.com/docs/get-started/architecture-scenarios/multiple-organization-architecture
Hi, I haven't done this before. But out of curiosity, I googled for it and found Using xUnit to Test your C# Code article by Auth0. May be it could be helpful.
Reply back with your tasks JSON and we can see if there is a problem with it: https://code.visualstudio.com/docs/editor/tasks
That is really the only difference between vscode and vim. Vscode uses the task definition to execute shell commands.
https://www.nuget.org/packages/Wkhtmltopdf.NetCore/ is good for PDF generation. Honestly, there are a lot of various packages built atop wkhtmltopdf. I’m not sure about file encryption and digital signing, though.
Please check out Rider, it runs ARM native and allows you to run .NET 6 also ARM native.
They have an EAP program: https://www.jetbrains.com/rider/nextversion/ get the Apple Silicon version
I never looked back
ELK is pretty common (Elastic Logstash Kibana). https://www.elastic.co/what-is/elk-stack
There are also non log tools to visualize metrics and performance like New Relic and DataDog.
Azure Application Insights does both and is very cheap at low scale.
True. It does feel a bit anti-patterny. I wonder if I'm confusing two different concepts. I assumed that VS Code multi-root workspaces were how you were expected to work in a .NET Core solution, since you can't open a solution with VS Code. I think I'll explore their documentation more or make my own post asking for advice with this approach.
For the most part, by the way, VS Code actually has quite a few features! The debugger is great, and the customizability is there. You even get CodeLens without having to pay for Visual Studio Enterprise. As far as I know, Visual Studio Community doesn't come with that last time I used it.
No, msmq is not supported in any official way. RabbitMQ / ActiveMQ / NetMQ are queueing technologies that do have a library available for .net core.
(There is https://www.nuget.org/packages/Experimental.System.Messaging/ but wouldn't recommend it for production purposes).
I have been using https://www.nuget.org/packages/NpgsqlBulk.EFCore/ with pretty decent success. I created an issue for the author to separate EF/EFCore and he was very prompt about it. Even has support for EF Core 3 already.
https://www.whitesourcesoftware.com/free-developer-tools/bolt-for-azure-vs-full-solution/ scans your dependencies and check for known vulnerabilities or possible licensing issues. We have it integrated in our build pipelines in Azure DevOps.
> But I still need to say that it’s probably not a good idea to have the full SDK running on your VPS.
SDK or IDE?
> you should check out VSCode Remote Development Extension Pack
> (https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack).
I was hoping there is something Text Based,
simple,
that can be used from the Terminal..
for C# .NET
That's why I asked this question..
I guess that micro Editor is the best option that I can find.
Have you had a look at IdentityServer 4? It's open source and they have a ton of samples on their GitHub. It's a identity service that can make use of external identity providers.
Edit: It also seems that you are looking at using a different flow, other than implicit. See if Discord supports a flow that doesn't require redirection such as resource owner password flow.
Edit 2: Is this what you are looking for? https://discord.com/developers/docs/topics/oauth2#client-credentials-grant
You should probably get a copy of this: Adaptive Code: Agile coding with design patterns and SOLID principles (Developer Best Practices) https://www.amazon.com/dp/1509302581/ref=cm_sw_r_cp_api_i_YACdFb374BKGR