L'articolo ASP.NET Core 8 and Angular - Sixth Edition è in prima posizione su Ryadel.
]]>Here’s the updated cover:
As always, the new edition is a complete rewrite of the previous edition, due to the breaking changes brought by the new ASP.NET Core, C#, and Angular versions, which include several improvements to performance, configuration, and extension libraries, as well as some new features such as: required modifier, Identity API endpoints, Functional Route Guards, WebSocket support, and more.
Another relevant improvement is given by the usage of the new Visual Studio 2022 Angular and ASP.NET Core Project Template, which considerably simplifies the initial configuration of the development solution. As for the DBMS, I switched from SQL Server 2019 to SQL Server 2022, which provides several new features and enhancements in terms of security, data encryption, and Azure-based cloud interoperability.
Speaking of MS Azure, I added the support for Azure Serverless DB, a tier for single databases provided by Azure that automatically scales compute based on workload demand, thus allowing to optimize the overall costs without losing availability and performance.
Last but not least, in the release and deployment section, I changed the Linux hosting from CentOS (which was recently declared end-of-life) to Ubuntu Server, which is known for its ease of use, which should facilitate the experience for those developers who are not familiar with Linux.
As always, the book comes with a huge GitHub source code repository filled with brand-new sample projects that are fully usable by everyone – without having to buy anything.
If you want to know what the book is about, here’s the product information sheet. I definitely hope that you will like it just like you did with the previous one (ASP.NET Core 6 and Angular), who happened to be a best-seller in multiple countries with more than 15000 copies sold throughout the world! That couldn’t be made possible without you, so thanks again and… get ready for another development journey!
Let's start with a quick overview of the most important topics that have been added in this fifth edition:
As we can see, there's a lot of new content!
If you want to learn how to use ASP.NET Core with Angular effectively, this hands-on guide is for you.
Improve the way you create, debug, and deploy web applications while keeping up to date with the latest developments in .NET 8 and modern Angular, including .NET Minimal APIs and the new Angular standalone API defaults.
You'll begin by setting up SQL Server 2022 and building a data model with Entity Framework Core. You'll progress to fetching and displaying data, handling user input with Angular reactive forms, and implementing front-end and back-end validators for maximum effect. After that, you will perform advanced debugging and explore unit testing features with xUnit for .NET, and Jasmine and Karma for Angular. You'll use Identity API endpoints in ASP.NET Core and functional route guards in Angular to add authentication and authorization to your apps. Finally, you'll learn how to deploy to Windows, Linux, and Azure.
By the end of this book, you will understand how to tie together the front-end and back-end to build and deploy secure and robust web applications.
This book is for developers who have some familiarity with ASP.NET Core and Angular and want to learn how to use them effectively together.
The fully documented code samples (also available on GitHub) and the step-by-step implementation tutorials make this book easy to follow.
Valerio De Sanctis is a skilled IT professional with 20 years of experience in lead programming, web-based development, and project management using ASP.NET, PHP, Java, and JavaScript-based frameworks. He held senior positions at a range of financial and insurance companies, most recently serving as Chief Technology and Security Officer at a leading IT service provider for top-tier insurance groups. He's an active member of the Stack Exchange Network, providing advice and tips on the Stack Overflow, ServerFault, and SuperUser communities; he is also a Microsoft Most Valuable Professional (MVP) for Developer Technologies.
L'articolo ASP.NET Core 8 and Angular - Sixth Edition è in prima posizione su Ryadel.
]]>L'articolo Auto-restart ASP.NET Core apps after deployment on Linux using incron è in prima posizione su Ryadel.
]]>One of the best ways I found to fill this gap is by using incron, a freely available cron-like system that triggers custom actions based on filesystem events.
In this article, we’ll walk through the steps to set up automatic restarts for your ASP.NET Core app using incron.
Before proceeding, make sure you have the following prerequisites:
First, install incron on your Linux server if it’s not already installed. You can do this using the package manager specific to your distribution (e.g., apt
, yum
, or dnf
).
For example, if you use Ubuntu 18+, you can use following command:
apt install incron
Once done, create an incron job that monitors changes in a specific directory (where your ASP.NET Core app resides).
For example, let’s assume your app is located in /var/www/myapp
and runs using a kestrel service called myapp.service
.
Edit the incron table using the command:
incrontab -e
Add the following line to the table:
/var/www/myapp IN_CLOSE_WRITE systemctl restart myapp.service
This line specifies that whenever a file in the /var/www/myapp
directory is closed for writing (i.e., updated), it will trigger the command to restart the myapp.service
.
After adding the incron job, reload the incron daemon to apply the changes:
systemctl restart incron
Now that incron is up and running, you just have to see if the auto-restart task we have added works like expected.
To quickly test it, make a change to your ASP.NET Core app (e.g., update a configuration file or modify a code file). Save the changes, and incron should automatically restart your app.
Auto-restarting the app on any file change might be a bit too much: for example, if your deployment task is not fast, you'll risk to face multiple reloads before completing the deployment, which is definitely an undesirable effect. To mitigate such behavior, you might think to limit the "reload task" to a limited number of relevant files that will always get modified, such as:
myapp.dll
(in our example)appsettings.json
Here's the modified configuration lines to add in the incrontab file, replacing the previous one:
/var/www/myapp/myapp.dll IN_CLOSE_WRITE sleep 30 && sudo systemctl restart myapp.service /var/www/myapp/appsettings.json IN_CLOSE_WRITE sleep 30 && sudo systemctl restart myapp.service
With such settings, your web app will be automatically reloaded if (and only if) the myapp.dll
or appsettings.json
files are modified - which should happen only once for each deployment task. it's also worth noting that we added a sleep 30
command switch to each configuration line: that switch instructs incron to perform the reload after a 30-second sleep time, which will (hopefully) increase the chance that the deployment will be complete. Needless to say, feel free to change that sleep time as you see fit.
By configuring incron to monitor changes in your ASP.NET Core app’s directory, you can achieve automatic restarts after deployment or crashes. This ensures that your app remains up-to-date and responsive without manual intervention.
Remember to adapt the paths and service names according to your specific setup. Happy coding!
L'articolo Auto-restart ASP.NET Core apps after deployment on Linux using incron è in prima posizione su Ryadel.
]]>L'articolo How to Remove Remote Management on iPhone or iPad After Restore è in prima posizione su Ryadel.
]]>In most cases, the administrators do not provide you with the password, making it challenging to remove Remote Management on iPhone or iPad after restore. However, don't worry – there is a solution to remove Remote Management from iPhone/iPad even if it is stuck on the Remote Management verification page. Keep reading to get it.
iOS Remote Management is a locking feature offered by Mobile Device Management (we also call it MDM). When an iPhone/iPad has been added with MDM profiles, the Remote Management lock is also added to it.
Devices with Remote Management protection are absolutely under the control of administrators. When you try to erase or restore any device data, this lock will appear as shown below. Without entering passwords, you can't complete the device restore process. With more wrong attempts to enter it, the device will even get locked.
When your iPhone/iPad is protected by Remote Management lock, you can't directly restore the device because further verification is needed. When you process the device restore and restart it to set up, the Remote Management lock-up screen will appear, asking you to enter both the username and password applied by MDM profiles to confirm your identity. In other words, it is hard to remove Remote Management directly without getting the password from administrators, unless you use some professional third-party unlocking tools to help.
If you don't want to let administrators know but process Remote Management removal secretly, the best MDM removal tool that can bring you professional help is Passvers iPhone Unlocker.
Passvers iPhone Unlocker's MDM removal function has added support for most major MDM Device Management providers, which makes it provide the highest success rate for removing MDM profiles without noticing the administrator. More importantly, Passvers iPhone Unlocker works to unlock MDM protections on iOS devices forever, once and for all! Compared with many other competitors only remove them leaving the Remote Management protection here, Passvers can surely be a more powerful option you should not miss.
Note that Passvers iPhone Unlocker's MDM removal function can work on both disabled and normally-working iOS devices! Now, also read the tutorial below to learn how to permanently remove the Remote Management lock on iPhone/iPad with Passvers iPhone Unlocker.
On Devices Working Properly
Step 1. Open Passvers iPhone Unlocker after installing it. From its Home Screen, choose "Remove MDM" and then click the "Start Removing" button in the "Work Properly" section.
Step 2. Once connecting your iPhone/iPad to your computer and let Passvers iPhone Unlocker detect, you will be guided to turn off the "Find My" function with clear instructions.
Step 3. Finally, after turning off the "Find My" function, your iPhone/iPad is successfully connected to Passvers iPhone Unlocker. Just click "OK" to start removing Remote Management lock immediately.
On Disabled Devices
Step 1. After selecting "Remove MDM" from the function list, choose "Disabled" and click "Start Removing". You will be asked to enter "0000" to keep on processing the next step.
Step 2. Then follow the guide shown on the screen to put your iPhone/iPad into "Recovery Mode".
Step 3. Once your device information shows up, check it and simply click "Start" to begin installing a firmware package. It is completely safe and will be deleted immediately after successfully processing Remote Management lock removal.
Step 4. When the firmware package is installed, simply click "Device Activated", the Passvers iPhone Unlocker will delete MDM profiles on your iPhone/iPad and also remove the Remote Management lock for you within a short time!
To check whether your iPhone is under monitored, there are two ways available:
Way 1: Open "Settings". If your device is under supervision, there will be a message telling you "The iPhone is supervised and managed by…".
Way 2: In "Settings", go to "General" and then "VPN & Device Management" to check if MDM profile ha shas been installed.
For sure you can! You can ask administrators to give you the password to remove Remote Management on devices. Also, some professional unlocking tools such as Passvers iPhone Unlocker can also help you to get rid of it forever.
If your iPhone/iPad is under supervision because it is added the Remote Management lock, it can be quite inconvenient for you to use the device. To remove the lock without letting administrators know or entering a password, the best tool you shall not miss is Passvers iPhone Unlocker. Try it now if you don't want to stay under monitor by your schools or companies!
L'articolo How to Remove Remote Management on iPhone or iPad After Restore è in prima posizione su Ryadel.
]]>L'articolo Disney Plus Not Working on MacBook? Fix in 8 Ways è in prima posizione su Ryadel.
]]>Numerous factors could be behind the malfunction of Disney Plus on your MacBook, and each issue demands a specific solution. This article will provide an extensive guide, walking you through all the 8 necessary methods to address this problem effectively. By following the steps, you'll be able to enjoy the content of Disney+ on your MacBook again.
Sometimes, Disney Plus may encounter issues such as a black screen, inability to connect, failure to load videos, or stuttering visuals on your MacBook. The underlying causes of these problems could include:
Besides, at times when you attempt to download Disney videos on MacBook, you may find that there is no download button. This isn't due to the download feature not working; rather, Disney officially does not provide a download function for Mac.
Don't worry, all of the aforementioned issues are solvable and can be addressed swiftly. Keep reading for solutions.
When you encounter Disney Plus not working on MacBook, you may first try the quick solutions below:
If the above methods still do not resolve the issue, consider trying the following advanced solutions:
To troubleshoot Disney+ issues on your Mac, try using Safe Mode. This mode clears up the system caches and fixes the software malfunction.
For Apple Silicon Mac:
For Intel-based Mac:
If the issues persist after you have tried all the mentioned solutions, reach out to Disney Plus for assistance via their official support/help page. Their official support team can provide personalized solutions from a professional standpoint.
As mentioned before, if you want to download Disney Plus movies on MacBook but find there's no official Disney Plus application for macOS, you can address this limitation by employing a third-party tool.
Here we recommend MovPilot Disney Plus Video Downloader, with which you can save Disney Plus movies to MP4 for flexible playback. It helps you to bypass Disney's download restrictions with just one click, eliminating concerns about the expiration date of the downloaded content.
Now follow the steps below to download Disney Plus shows and movies to MacBook with MovPilot:
Step 1: Get the Disney+ Video Downloader Ready
Launch MovPilot Disney Plus Video Downloader and log in to Disney Plus using your account.
Step 2: Search for Disney Plus Movie
Enter the movie title or paste the link in the search bar, then click "Search".
Step 3: Download Disney Plus Movies on Mac
Adjust settings for video format, audio, and subtitles by clicking the "Setting" icon. Click "Download" next to the video, and the download begins. For TV shows, choose episodes and filter types using the search bar. Check downloaded videos in the "History" section.
After downloading, locate the files in Finder to watch Disney Plus movies offline using any video player.
Above we've provided you with 9 fixes to Disney Plus not working on MacBook Air/Pro/iMac. They must be of great assistance to you. Moreover, due to the absence of an official download feature of Disney Plus on Mac, we recommend you try MovPilot Disney Plus Video Downloader. This tool helps you to download Disney Plus movies and episodes in a DRM-free format, ensuring flexible HD playback. Experience it for yourself, and you'll quickly become a devoted enthusiast.
L'articolo Disney Plus Not Working on MacBook? Fix in 8 Ways è in prima posizione su Ryadel.
]]>L'articolo A fatal error occurred while creating a TLS client credential. The internal error state is 10013 è in prima posizione su Ryadel.
]]>A fatal error occurred while creating a TLS client credential. The internal error state is 10013
The SSPI client process is w3wp (PID: <variable PID number>).
If that's the case, you are in the right place: in this post, we'll take care of that.
9 times out of 10 the above error is a consequence of disabling SSL 1.0, 2.0, and 3.0 for both Server and Client, as well as TLS 1.0 and TLS 1.1 using Nartac Software's IISCrypto or other techniques. Disabling these protocols is a best practice nowadays, as all of them are considered to be insecure (for good reasons: if you want to know more, read this post). However, if you do that you might cause some compatibility issues with clients or applications that rely on these older protocols: more specifically, you will determine a verified issue if your server hosts web applications relying upon .NET 3.5 or .NET 4.0 frameworks (such as Windows Forms or MVC websites, older versions of Exchange Server, and the likes), which is known to generate the above Windows Registry error we are trying to fix.
To prevent that from happening, we need to perform the following steps:
Let's quickly see how we can perform these steps.
TLS protocols are enabled or disabled in Windows Schannel by editing the Windows Registry using the Enabled DWORD registry value. If the value is set to 0, the protocol version cannot be used, even if it is enabled by default or if the application explicitly requests that protocol version; if the value is set to 1, the protocol version can be used if enabled by default or if the application explicitly requests that protocol version. If the value is not defined, the operating system’s default value will be used. Additionally, the DisabledByDefault DWORD registry value can be used to define whether the protocol version is used by default. This setting only applies when the application doesn't explicitly request the protocol versions to be used. If the value is set to 0, the protocol version will be available for use by default. If the value is set to 1, the protocol version will not be available for use by default. If the value is not defined, the operating system’s default value will be used.
That said, here's how we can enable TLS 1.2 for Schannel:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2] [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client] "DisabledByDefault"=dword:00000000 "Enabled"=dword:00000001 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Server] "DisabledByDefault"=dword:00000000 "Enabled"=dword:00000001
This step is required if your server hosts web applications that rely upon .NET Framework v2.0 and/or 3.5.
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727] "SystemDefaultTlsVersions"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v2.0.50727] "SystemDefaultTlsVersions"=dword:00000001
This step is required if your server hosts web applications that rely upon the .NET Framework v4.x.
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319] "SystemDefaultTlsVersions"=dword:00000001 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319] "SystemDefaultTlsVersions"=dword:00000001
That's it: if you enable TLS 1.2 this way (and reboot your computer), the issue with the Windows Registry error will likely disappear. We hope that this small guide will help other System Administrators (and .NET developers) to get rid of that error.
L'articolo A fatal error occurred while creating a TLS client credential. The internal error state is 10013 è in prima posizione su Ryadel.
]]>L'articolo Are your HTTPS configuration settings good enough for 2024? è in prima posizione su Ryadel.
]]>In this post, we will briefly review the back story of these protocols and how they underwent several revisions to address some vulnerabilities that were discovered over time, compromising the security posture they were aiming to grant. This quick recap will help us to understand which protocol (and version) we should aim to use, evaluating the benefits and drawbacks of such a choice.
Our story begins in the early 1990s, a time when the internet was burgeoning with potential but lacked a secure means of transmitting sensitive data. Netscape, a pioneering force in the realm of web browsers, recognized this gap and set out on a mission to create a secure protocol—Secure Socket Layer (SSL). Launched in 1995, SSL became the first widely adopted cryptographic protocol for securing communication over the Internet.
SSL works by establishing a secure connection between a user's browser and a web server. This connection was encrypted, ensuring that any data transmitted—be it passwords, credit card information, or other sensitive data—remained indecipherable to any unauthorized entities attempting to intercept it. The protocol utilized a combination of asymmetric and symmetric encryption to achieve this feat.
Despite its groundbreaking nature, SSL wasn't impervious to weaknesses and vulnerabilities. Here's a quick reference list of its most important flaws:
For all the above reasons, we can easily understand why the first version of Secure Socket Layer (SSL v1) could not be used anymore.
The attempts to address the SSL v1 security issues eventually led to the release of SSL 2.0 (1995), which was developed by Netscape and released around 1995. However, even SSL 2.0 suffered from several vulnerabilities that rendered it insecure, leading to its deprecation.
Here are some key vulnerabilities associated with SSL 2.0:
Due to these vulnerabilities and security flaws, SSL 2.0 has been deprecated, and its use is strongly discouraged.
SSL 3.0, while an improvement over its predecessor SSL 2.0, is not without its vulnerabilities. Released in 1996 by Netscape, SSL 3.0 aimed to address some of the security issues present in SSL 2.0. However, over time, new vulnerabilities were discovered, rendering SSL 3.0 insecure.
Here are some key vulnerabilities associated with SSL 3.0:
In conclusion, while SSL 3.0 represents an improvement over SSL 2.0, it is plagued by vulnerabilities that compromise its security. As a result, the use of SSL 3.0 is strongly discouraged, and organizations are advised to transition to more secure protocols like TLS to ensure the confidentiality and integrity of their online communication.
TLS (Transport Layer Security) version 1.0 was introduced as an improvement over its predecessor, SSL (Secure Sockets Layer). However, over time, vulnerabilities were identified that impacted the security of TLS 1.0.
Here are some key vulnerabilities associated with TLS 1.0:
Due to these vulnerabilities and the evolving threat landscape, TLS 1.0 is no longer considered secure.
TLS (Transport Layer Security) version 1.1 was introduced as an improvement over TLS 1.0, addressing some of its vulnerabilities. However, like any cryptographic protocol, TLS 1.1 is not immune to security issues.
Here are some key vulnerabilities associated with TLS 1.1:
Due to these vulnerabilities and the evolving threat landscape, TLS 1.1 is no longer considered secure.
TLS (Transport Layer Security) version 1.2 represents a significant improvement over its predecessors, addressing many vulnerabilities present in earlier versions. However, no cryptographic protocol is entirely immune to security challenges.
Here are some considerations regarding TLS 1.2 vulnerabilities:
Despite these considerations, TLS 1.2 remains a robust and widely used protocol for securing online communication. The identified vulnerabilities often require specific conditions or configurations to be exploitable, and diligent implementation and configuration practices can significantly mitigate potential risks. Nonetheless, as security standards continue to evolve, organizations are encouraged to stay informed about emerging threats and transition to even more secure versions of TLS, such as TLS 1.3, when feasible.
TLS (Transport Layer Security) version 1.3 is considered one of the most secure and robust versions of the TLS protocol. However, it's important to note that the security landscape is dynamic, and new vulnerabilities may emerge over time.
Here are some key aspects regarding TLS 1.3 and ita potential vulnerabilities:
It's important to note that the vulnerabilities listed here are considered in the context of evolving security standards and the progression of cryptographic research. As a result of identified vulnerabilities, modern best practices recommend transitioning to newer versions of TLS, such as TLS 1.2 and/or TLS 1.3, disabling the fallback mode to earlier versions whenever possible.
With all that in mind, organizations need to stay informed about updates, security patches, and emerging cryptographic standards. Regularly updating software and ensuring the use of strong, secure configurations are critical practices to mitigate potential vulnerabilities. As the field of cryptography evolves, future versions of TLS or alternative protocols may be introduced to address emerging threats and ensure the highest level of security for online communication.
L'articolo Are your HTTPS configuration settings good enough for 2024? è in prima posizione su Ryadel.
]]>L'articolo How Mobile Development can increase your business? è in prima posizione su Ryadel.
]]>Here's a list of benefits you should consider:
Investing in mobile development is a strategic move that can propel your business to new heights. From improved customer engagement to increased accessibility and data-driven decision-making, the benefits are undeniable.
Get into the mobile revolution, connect with your audience on a deeper level, and watch as your business flourishes in the digital age. Mobile development isn't just an option; it's a necessity for those aiming to thrive in today's dynamic and competitive business landscape.
L'articolo How Mobile Development can increase your business? è in prima posizione su Ryadel.
]]>L'articolo How to Recover Permanently Deleted Photos from Android è in prima posizione su Ryadel.
]]>This article offers two straightforward, fast, and effective methods to assist you in retrieving permanently deleted photos, either from Android internal storage or from Google Photos.
Accidentally delete photos from your Android gallery? Don't worry. While recovering permanently deleted photos from the Android gallery without backup may seem challenging, it's not impossible.
This article offers two straightforward, fast, and effective methods to assist you in retrieving permanently deleted photos, either from Android internal storage or from Google Photos.
Yes, you can. When you delete photos in Android Gallery initially, they're moved to the "Recently Deleted" folder. Emptying this folder will permanently delete the photos. However, even after permanent deletion, the photos are just hidden and marked as 0 memory usage, awaiting to be overwritten by new data.
So, after permanently deleting photos, it's crucial to stop using your phone as soon as possible to prevent the creation of new files and data. As long as you start photo recovery before they are overwritten, there is a possibility to recover your lost Android photos.
The most reliable method to recover permanently deleted photos is by using data recovery software, such as FonePaw Android Data Recovery. This software can not only retrieve deleted photos from the Android internal memory but even recover deleted files from Android SD card. Its powerful scanning functionality ensures that no hidden photos on your Android phone are overlooked.
What makes it particularly appealing is that FonePaw offers a permanently free scanning and preview feature. This helps you confirm whether the desired photos are present on your Android device, allowing you to selectively recover them without affecting the existing data on your phone.
Highlighted Features of FonePaw Android Data Recovery
Now, just download, install, and launch FonePaw Android Data Recovery on your computer. Follow the steps below to recover permanently deleted photos from Android without backup.
Step 1. Connect your Android phone to the computer. Follow the onscreen instructions to enable USB debugging on your phone.
Step 2. On the next page, choose to scan Gallery and Picture Library. Then click Next.
Step 3. Follow the prompt to install the FonePaw Android app on your Android. And give the app permission to access files on your phone.
Step 4. Click Scan authorized files to scan the permanently deleted photos on your Android phone.
Step 5. After scanning, you can see all the deleted photos listed on the screen. Check the ones you want to recover. Click Recover to get them back.
If you have previously synced photos from your Android gallery to Google Photos, you can recover them even after they have been permanently deleted from your phone. Follow the steps below to retrieve the photos you permanently deleted within the Google Photos app.
Tips:
Google Photos provides the automatic synchronization of your local photos to the cloud. If you enable this feature, every time you capture or save new photos, Google Photos will automatically back them up without the need for manual backup. This serves as an effective measure to prevent photo loss. Whether your local photos are lost or permanently deleted, you can always find their backup copies in Google Photos.
Both of the above solutions can effectively help you recover permanently deleted photos from Android gallery without backup. If you have previously synced photos to Google Photos, you can easily retrieve them from the cloud even after they have been permanently deleted on your Android phone.
If you haven't synced your photos, using FonePaw Android Data Recovery to directly scan your Android phone's internal storage and SD card is the best option. As long as the deleted photos have not been overwritten, FonePaw can assist in getting them back to your phone.
L'articolo How to Recover Permanently Deleted Photos from Android è in prima posizione su Ryadel.
]]>L'articolo ASP.NET Core Publish - Suppress Localization Folders è in prima posizione su Ryadel.
]]>As most seasoned developers know, when we publish an ASP.NET Core app (via command line, using the dotnet publish command, or through Visual Studio), the framework generates some localization and code coverage satellite assemblies, grouping them into several language-related folder.
As a consequence of such behavior, at the end of the publishing process, we are left with the following outcome:
Although these folders are completely harmless, if we don't support these languages we might reasonably want to prevent them from being generated.
To do that, open the project file (the one ending with the .csproj prefix) and add the <SatelliteResourceLanguages> element to the first PropertyGroup (the one containing the TargetFramework element) in the following way:
<PropertyGroup> <TargetFramework>net8.0</TargetFramework> <Platforms>AnyCPU;x64</Platforms> <SatelliteResourceLanguages>en;it</SatelliteResourceLanguages> </PropertyGroup>
The <SatelliteResourceLanguages> element allows us to specify which languages you want to preserve satellite resource assemblies for during build and publish: in the above scenario, we only want to support English (en) and Italian (it) languages, therefore we added these two.
If this setting doesn't do the trick alone, you might have to perform another change to the project file.
Locate the following element:
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.0" />
And add the ExcludeAssets="All" attribute to it, in the following way:
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.0" ExcludeAssets="All" />
This should do the trick.
IMPORTANT: the above samples are taken from .NET 8 (v8.0.0) app: if you happen to use a different framework version, the above elements will have different reference numbers.
That's it, at least for now: we hope that this small guide will help other ASP.NET Core developers get rid of these useless localization folders when deploying their apps to the web.
L'articolo ASP.NET Core Publish - Suppress Localization Folders è in prima posizione su Ryadel.
]]>L'articolo How can Web Development boost your business? è in prima posizione su Ryadel.
]]>Additionally, web development can help businesses stay competitive by allowing them to quickly adapt to changing customer needs and trends.
In this post, we'll quickly browse through a non-comprehensive list of ways Web Development can help improve your business.
One of the primary benefits of web development is the enhancement of your online visibility. In an era where consumers turn to search engines for solutions, a well-crafted website ensures your business is easily discoverable.
When potential customers search for products or services relevant to your industry, your website can appear in search engine results, attracting organic traffic. To make the most of this, it's crucial to invest in SEO (Search Engine Optimization) during web development. This involves optimizing your website's structure, content, and metadata to rank higher in search results. Higher rankings lead to increased organic traffic and more potential customers visiting your website.
Credibility is a cornerstone of business success. A professionally developed website communicates trust and reliability to your target audience. When visitors arrive at a well-designed website, they are more likely to perceive your business as legitimate and trustworthy.
To build credibility through web development, focus on creating a user-friendly and visually appealing website. Ensure that it loads quickly, is easy to navigate, and provides valuable content. A seamless user experience leaves a lasting positive impression on visitors and instills trust in your brand.
Web development opens up opportunities for improved customer engagement. Interactive features such as contact forms, live chat support, and e-commerce functionality allow customers to interact with your business directly through your website. This not only enhances the user experience but also facilitates sales and inquiries.
Engagement through web development can also encompass content marketing strategies like blogs, articles, and newsletters. Regularly updated, high-quality content keeps your audience informed and engaged, establishing your business as an authority in your field.
In today's competitive marketplace, having an effective website is no longer a luxury; it's a necessity. Your website is often the first point of contact for potential customers. If your competitors have well-developed websites and you don't, you risk losing out on opportunities.
Having a competitive advantage through web development means staying ahead of the curve in terms of design, functionality, and user experience. Your website should not only meet but exceed the expectations of your target audience.
Traditional advertising methods can be costly, and their effectiveness is not always easily measurable. Web development allows for cost-efficient marketing through online advertising, email marketing, and social media. These digital marketing methods often provide more targeted and measurable results.
Moreover, web development enables you to track and analyze the performance of your marketing efforts. By leveraging analytics, you can make data-driven decisions to refine your marketing strategy and allocate resources more effectively.
As your business grows and evolves, your website can adapt to accommodate these changes. Web development provides the flexibility to scale your online presence. Whether you're adding new products, services, or features, your website can be updated and expanded to meet your evolving needs.
Scalability is a key advantage, as it ensures that your online presence remains in sync with your business objectives. You won't be held back by an outdated or limited website when expanding your offerings.
With the increasing use of smartphones and tablets, having a mobile-responsive website is critical. Web development can ensure that your website is accessible and user-friendly across a variety of devices. Mobile accessibility is not only a convenience for your audience but also a ranking factor in search engines.
When your website is optimized for mobile, you provide a seamless experience for users on the go, increasing the chances of conversions and customer satisfaction.
Web development is a cornerstone of modern business success. It enhances your online visibility, builds trust and credibility, improves customer engagement, and provides a competitive advantage.
With cost-efficient marketing, scalability, and mobile accessibility, web development equips your business to thrive in the digital landscape. Embracing the power of web development is not just an investment; it's a strategic move that can drive your business to new heights in the digital age. So, don't wait – start reaping the benefits of web development today
L'articolo How can Web Development boost your business? è in prima posizione su Ryadel.
]]>