Hi, I’m András a
I am a seasoned software engineer from Budapest, Hungary with a strong focus on mobile app development using .NET MAUI and Xamarin.Forms. My expertise also extends to website building for my happy customers and other complex system designing. I am passionate about developing well-organized, maintainable software solutions.
I hope we can get to know each other, to make your uniqueness digital, and bring “your ideas on devices”
I write blog to share the knowledge I’ve gained.
You can explore my professional articles in software development
Docker error: CTC1014 Docker command failed with exit code 1.
This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.If you are facing the issue with the following error: Ensure that you have selected Debug mode instead of Release.
.NET Core: UseUrls seems getting ignored error
This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.If you are facing the issue, that the Host.CreateDefaultBuilder’s ConfigureWebHostDefaults’s UseUrls method is getting ignored, and all the environment variables and launchsettings.json completly getting ignored by the .NET core application, its always using the default port of http : 5000 and the https 5001, follow the instructions Are you using configuration builder before calling the configurewebhostdefaults? And are you passing the built configuration to ConfigureAppConfiguration ? Like that: Then remove the ConfigureAppConfiguration call, and it will work.. No idea how to work around
Docker error: CTC1015 Docker command failed with exit code 125.
This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.If the Visual Studio’s output of the build on windows says the following: Solution Go to your Services administration panel (by running services.msc) Stop the following services:– HNS (Host Network Service)– docker (Docker Engine) Then restart them in the order of stopping.
Windows: Set Environment variables for users
This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.For some cases you might need to set environment variables for your .NET application.This is true to .NET core too, when you are storing your application settings in these variables. How to set up a script for the job It’s handy to create a windows command line script for creating these variables, because when you are on a new work environment, than you don’t need to look up the keys and values. So bring up your most-loved text editor, make your environment_variable_creator.bat, and add the following code: If you are using .NET core’s configuration builder with a prefix like this: Then you need to set your variables with prefix “PREFIX_” in the bat file. In this scenario, VARIABLE1 can not be read, because it does not contain the prefix. The code sets the variables only for your user account, not for others. You can parameterize the SETX command to set the settings for a different user, but i recommend, to run the script with a command line for the targeted user, because its much easier. To run your script under other users name, then open your command prompt with ‘Run as… different user’
.NET Core: Using AssemblyInfo shared between assemblies
This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.There was a time when project.json has replaced the AssemblyInfo. But since .NET core uses .csproj, instead of the project.json, AssemblyInfo comes to the development again. If you want to version your several different assemblies together, then follow this tutorial. Add a shared AssemblyInfo.cs Right click on your solution, and select Add > New Item.. In the following screen, select Visual C# class, and name it as ‘AssemblyInfo.cs’ Replace the file content with the example below: Set your projects to use the shared assembly info Do this all of your projects where you want to use the shared assembly info file. Edit your project file with a text editor (or right click on project > Edit project file) Add the following tag to the PropertyGroup tag in order to diable automatic assemblyinfo.cs generation: Add the shared assembly info to be used with inserting the following tags to between the project tags: If the project has no Properties folder, like .NET Standard projects basically do, then add the new folder also with this snippet:
Azure Functions : Application settings from Azure
This content has 4 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.Values hard coded to an application is the brightest “DO NOT” thing in software development. But how to bring your Azure Function more professional level? Start using application settings You can define key value pairs on the Microsoft Azure portal for your Function app. Go to your app and find the Settings section, and click on the configuration button. You can add your keys and values by clicking the New application setting button. Application Settings are exposed as environment variables for access by your application at runtime. Learn more Access your settings from your code You can access your newly created setting from C# using the GetEnvironmentVariable call. What about local debugging? You do not need to add and modify the environment variables in your operating system. Add a new json file to your solution called ‘local.settings.json’, and fill it up with some data like below:
Get these news directly into your inbox
Let's make your uniqueness digital.
Bring your idea on devices
at my company, bitfox.hu, we turn your digital dreams into reality.
Check out our portfolio
What our satisfied clients say
Marcell
Benjamin
Karina
Connect with me
Ready to get started?
Reach out to me for a personalized quote. I pride myself on quick response times and am committed to providing you with a detailed proposal as soon as possible.
Don’t wait any longer to start your digital journey. Connect with me now and let’s create something amazing together!