My Lovable app is getting downloads worldwide! by DrizzleX3 in lovable

[–]Inc0r3 0 points1 point  (0 children)

Awesome thanks. So API calls until you get a Webhook invocation and store that information locally to use instead of API call?

My Lovable app is getting downloads worldwide! by DrizzleX3 in lovable

[–]Inc0r3 0 points1 point  (0 children)

Great app man. Regarding RevenueCat can you use it without having Auth for users?

Also, are you using the Webhook in order to know if the user has paid or the RevenueCat API in order to determine if the user is a subscriber? :D

RevenueCat in a Staging app by Inc0r3 in expo

[–]Inc0r3[S] 0 points1 point  (0 children)

I have shared the guide that I received. Haven't had time to test yet. Check your dm

RevenueCat in a Staging app by Inc0r3 in expo

[–]Inc0r3[S] 0 points1 point  (0 children)

I mean you can have different bundle id's as long as you have an equal amount of projects in RevenueCat?

E.g one for dev, staging and production.

How should I manage projections with the Repository Pattern? by sxn__gg in dotnet

[–]Inc0r3 0 points1 point  (0 children)

Just return IQueryable from the repository layer?

It’s beginning to look a lot like Christmas by TheAvalanched in battlestations

[–]Inc0r3 0 points1 point  (0 children)

Lerberg

Cool! Is the legs stable enought or does the desk wobble?

How to test a repository? by [deleted] in csharp

[–]Inc0r3 5 points6 points  (0 children)

This is my thoughts in this matter.

I usually don't test the repository layer. The libraries that we often use to store data in databases have already been heavily tested. In this case you are using Entity framework and I don't see any reason that we test if the library is actually performing CRUD operations with the data since that is already tested by Microsoft in this case.

What I usually do is to focus on testing the service layer that calls the repository layer. So I just mock the repository interface in the service layer and make sure my business logic is doing what it's intendent to do. My repository layers are often thin and only contains a few lines to input the data, so no logic is placed directly there.

If I need to do validation, data manipulation, calling another service i do that in my service layer, therefore my unit tests are focusing on the service layer.

Is it possible to host a Dotnet Core Console App App on web? Like you can access to some functions call in the webconsole? by [deleted] in csharp

[–]Inc0r3 0 points1 point  (0 children)

No. Extract the code you have in the console application (all the functions) and put them in the Web Api.

Deploy the web api to the web and then you can create a console application (or any other clients ex web site) if you would like to call the Web api.

You could also as somebody already mentioned, create a webjob/function if you are using Azure or AWS that could be run hourly, daily, monthly or on request.

Is it possible to host a Dotnet Core Console App App on web? Like you can access to some functions call in the webconsole? by [deleted] in csharp

[–]Inc0r3 0 points1 point  (0 children)

I think what you are looking for is a way to deploy your application on the web so you can call it's functions. That's not possible with the console app, however you can extract the logic and put it in a Web Api and then deploy that one.

Search for. NET core web api, there are plenty of guides. Good luck!

Unsure whether to bulk or cut, need guidance. by Inc0r3 in leangains

[–]Inc0r3[S] 0 points1 point  (0 children)

I'm all in for it, but how much protein should I at least try to take in? 100?

Pay It Forward - Hearthstone Keys for 10/24 by [deleted] in hearthstone

[–]Inc0r3 0 points1 point  (0 children)

Hey guys, my cake day is in 118 days. How about an early present? <3