Комментарии:
When do you add CI/CD?
ОтветитьWorth bookmarking. Very helpful course.
ОтветитьAzure Devops = vendor lock in.
I prefer generic repository + CI/CD which can be lifted and shifted easily if, for example, Azure do large price increases (which does happen).
Started getting this error: "The debug executable 'c:\..\..\TimCoRetailManager\TRMDesktopUI\bin\Debug\netcoreapp3.0\TRMDesktopUI.exe' specified in the 'TRMDesktopUI' debug profile does not exist." . I worked at the end of the last installment of your series. Not sure why it is throwing this UI error. The API still works...
ОтветитьDoes anyone else get an error on Checkout? My ConfigHelper in the API busts reading the "taxRate" from AppSettings in the UI App.config -- "rateText" in ConfigHelper returns a null. The API is not reading the UI App.config properly.
ОтветитьI found that restarting Visual Studio picked up the new Azure DevOps repo - I didn't need to clone it again. In case that helps anyone.
ОтветитьHi Tim, how did you set "Wrap parameters" in Quick Actions and Refactorings?
ОтветитьHi Tim,
what's the best practice in industry when you have a small team working on the same software project or even one employee and you would like to protect your source code in case one team member could quit and have the full software source code that could be used to compete with you?
Do you set people to work and have only access to a certain portion of the software so that they don't have the full picture of the software and all the code? Like one team working on database only, another on a certain UI? And only few or one trusted person integrate all the pieces together before build? How is it done in industry? Or is it impossible as all team members must work together understanding what others are doing for efficiency and rely only on Non-Disclosure Agreement ?
Thanks for the video. I cannot change the work item to be completed from VS as I get the message: "Custom rules are preventing the Issue from being saved. Open the work item in the web to make your updates." I tried to google a solution but found nothing. Do you have any idea how to change this?
ОтветитьGreat video again.First I thought, why not use the 'Import' function of DevOps to move it from GitHub to DevOps, but then I realized you also have to disconnect/connect it to the correct server on your local machine, so it makes more sense to do it the way you did (except in your case it seems to go wrong as you had to clone it again, didn't have that problem).
Now I'll be looking into converting our VisualSourceSafe2005 over to github/devops if the plugin rubberduck will work correctly for VB6... (yes, the horror, we still have a legacy application developed in VB6 (but also a .NET based cloud version)).
Rather than completely abandoning GitHub, I added it back in Git Bash after getting set up on Azure DevOps as a second push URL, that way it acts as a backup of sorts to the DevOps repository. Visual Studio itself seems to lack the ability to set multiple push URLs for a single remote, which is why I had to do it in Bash. Visual Studio will only show the last push URL listed in your Git config file in the Git remote settings, and it breaks Visual Studio's ability to update the remote settings properly, but pushing still works correctly inside Visual Studio. (This is with VS2019 v16.8.2)
ОтветитьNot to be redundant, but please accept my deepest thanks. This is quality content.
ОтветитьHi Tim, I just stated following these series with lesson 40. My application cannot run. I am receiving the message below. What adjustments do I need for my specific environment ?
System.UnauthorizedAccessException
HResult=0x80070005
Message=Access to the path 'C:\Users\Minette\Desktop\Learning\IamTimCorey_03-21-21\LearningDevOpsProject\TRMApi\appsettings.json' is denied.
Source=System.Private.CoreLib
StackTrace:
at System.IO.FileStream.SeekCore(SafeFileHandle fileHandle, Int64 offset, SeekOrigin origin, Boolean closeInvalidHandle)
at System.IO.FileStream.ReadNativeAsync(Memory`1 destination, Int32 numBufferedBytesRead, CancellationToken cancellationToken)
at System.IO.FileStream.ReadAsyncInternal(Memory`1 destination, CancellationToken cancellationToken, Int32& synchronousResult)
at System.IO.FileStream.ReadAsyncTask(Byte[] array, Int32 offset, Int32 count, CancellationToken cancellationToken)
at System.IO.FileStream.Read(Byte[] array, Int32 offset, Int32 count)
at System.IO.StreamReader.ReadBuffer()
at System.IO.StreamReader.ReadToEnd()
at Microsoft.Extensions.Configuration.Json.JsonConfigurationFileParser.ParseStream(Stream input)
at Microsoft.Extensions.Configuration.Json.JsonConfigurationProvider.Load(Stream stream)
at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Extensions.Configuration.FileConfigurationProvider.HandleException(ExceptionDispatchInfo info)
at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
at Microsoft.Extensions.Hosting.HostBuilder.BuildAppConfiguration()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at TRMApi.Program.Main(String[] args) in C:\Users\Minette\Desktop\Learning\IamTimCorey_03-21-21\LearningDevOpsProject\TRMApi\Program.cs:line 16
This exception was originally thrown at this call stack:
[External Code]
TRMApi.Program.Main(string[]) in Program.cs
I am unable to see changes and branches in Team Explorer. Is there a setting that i have missed?
ОтветитьI have a Blazor Server app in my Azure Devops Git repo works fine, however everytime I do a build I get a bunch of changes in my changes window, even though all I did was a rebuild of the solution, do you know of a fix for this?
ОтветитьAny good alternatives for devops for the SQL database?
ОтветитьFor everyone doing this via Visual Studio 2022 or newer: looks like option to connect to Azure DevOps project directly from VS has been removed.
There also are no indirect workarounds AFAIK.
One can trigger automatic updates in Azure DevOps using the AB#{ID} commit message format, where {ID} is an issue number. For example, "Fixes AB#1" would move your issue #1 to Done in Boards.
Hi Tim, what a great video!
I did what you did in this video but i can't see changes! I think it's because of my vs (community 2022). How can i have Changes?
I don't remember when there were two branches created. I thought there was only the master branch? When was the Authentication branch created - does anyone know the video number? I must have missed it.
Ответить