BrowserLink works well with an Asp.net Core webapp, but when it comes to a Razor Class Library (RCL) I just don't see it working. Every time I make a change in a .cshtml view inside my RCL, I have to do a rebuild on the solution to see the change which is not productive at all. Has someone been able to get this working with RCL? Thanks.
Refresh Razor Class Library changes with BrowserLink
297 Views Asked by Ray At
1
There are 1 best solutions below
Related Questions in VISUAL-STUDIO
- The current .NET SDK does not support targeting .NET Core 6.0. Brand new WPF Project VS Community 2022 17.9.5
- Dotnet Run is not working but the application is running in Visual Studio
- Is there a way to support Tailwind @apply in Visual Studio?
- How can I eliminate compile warnings using ZLib in Visual Studio
- C++(or Visual Studio) saving the file will not preserve the original file contents
- VS Community 2022 cannot install dotnet-ef when i try to publish
- Visual Studio 2022 convert spaces to tabs on checkout and back to spaces on checkin
- What should I do if Visual Studio has a restriction on creating files with a long name or a long path to these files?
- Command line error D8036 - not allowed with multiple source files with node-gyp and VS2022
- Migrate Old VS 2015 .suo file to the New VS 2022 DocumentLayout.json
- How to make one executable visual studio, that users can run?
- Use tabs instead of spaces in .csproj file in Visual Studio 2022
- Unity - scrollview/dragging breaks after specific scene inactivity
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
- Why is 'EDITBIN /STACK:2097152 w3wp.exe' cmd is giving me an LNK1342 error?
Related Questions in ASP.NET-CORE
- Windows environment variables at appsettings.json
- Which approach is right while creating a service for your update method?
- New Blazor Web App, Password Reset "A valid antiforgery token was not provided"
- No webpage was found for the web address: https://localhost:7002/Category/Add?area=Admin. Why is my URL generated like ?area=Admin instead of /Admin/
- how to get the html for a tag helper in code
- How to share authorization implemented in the server project with the client project in Blazor Web App Auto project?
- Why https is disabled on publish in .NET Core 7.0
- How to set language in a server-side rendering blazor app
- How can I debug server side rendering blazor code in a component?
- ASP.NET Core 6 randomly returning 200 with empty response
- ASP.NET Core MVC : NullReferenceException: Object reference not set to an instance of an object
- ASP.NET Core Identity Custom Register Endpoint
- VS Community 2022 cannot install dotnet-ef when i try to publish
- How does ASP.NET Core Identity ensure username is unique under concurrent conditions?
- In clean architecture, is the presentation layer allowed to communicate directly with the infrastructure layer?
Related Questions in RAZOR
- I have a problem outputing the roles on the page ListRoles.cshtml
- ASP.NET Core MVC : NullReferenceException: Object reference not set to an instance of an object
- Blazor/Razor resolve components using dependency injection
- Receiving 400 bad request on post when customer auth handler is used
- Prevent modal from popping up when freeze button is clicked
- AJAX Requests from jQuery to ASP.NET Core API Losing Authentication
- Initialize a singleton from cookies for a ASP.NET Core Razor project
- Razor.RuntimeCompilation creates an error
- ASP.NET Core MVC invoke function through button on razor page
- Runtime Compilation of Razor Pages Does Not Work .NET 8 VS2022
- Why does my ASP.NET Core MVC application add some identifier to HTML elements?
- Question | Visual Studio Code Editor .cshtml file not working properly
- Error in Using references with Blazor Client
- JQuery accordion not working in Razor page
- Challenge with ASP.NET Web Forms to .NET 8 Razor Pages Migration on Private Server
Related Questions in BROWSER-LINK
- All the javascript files are failing to load and it points to the browser-link
- Chrome ignoring CSP (Content Security Policy) affecting Browser Link on ASP.NET application using .NET Core
- How to stop browserlink.js and aspnet-core-browser-refresh
- How to disable Browser Link in ASP.NET Core (.NET 6, VS 2022)
- Issue with the browser link on my ASP.NET 3 Core MVC
- UseBrowserLink() causes Response.HasStarted to be set later in the Request cycle, why?
- BrowserLink in .Net Core 3.0
- Refresh Razor Class Library changes with BrowserLink
- How to make BrowserLink work with .NET Core in Visual Studio 2017?
- BrowserLink tooling doesn't work with ASP.NET Core 2.1?
- is there a way to apply changes in browser inspector to CSS files synchronously?
- Fresh ASP.NET Core 2.0 MVC Web Application template Browser Link works but has a 404 error
- Browserlink CSS autosync not working ASP.NET Core 2.0
- Visual Studio 2017 Browser Link with custom url
- Browser Link connection is shown as "Unknown"
Related Questions in RAZOR-CLASS-LIBRARY
- Prevent Blazor Router to found some components with @page directive
- Blazor in .NET 8: Routing issue when load Page from Razor Class Library
- Can I add additional services to container later in the app component?
- is it possible in blazor webassembly to load and navigate a page without specifying a page directive or a minimal one
- Unable to find 'Software1.dll;Software2.dll' to be lazy loaded later. Confirm that project or package references are included and the reference is u
- Moving Razor Pages and Layouts to RCL
- prefix razor pages in razor class library
- How to use app services in imported razor class library components
- Razor class library static web assets on different urls before and after publish when libman used
- How to share (export) a global (non-scoped) css file from razor class library between Blazor server and MAUI hybrid projects
- How to share Razor components with the need for interactivity in a Razor Class Library (.Net 8)
- Blazor doesnt resolve dependencies of a Razor Class Library
- Service in Blazor
- nuget - missing staticwebassets folder after custom pack
- PostAsJasonAsync returns 502 Bad Gateway in Maui Blazor Hybrid app, but not in postman or in Blazor WebAsembly
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You need to add a PhysicalFileProvider in your Startup.cs ConfigureServices of the WebApp that you are using Razor Class Library components on. I have two Razor Class Library projects in the same solution as my website set up and named as so:
In Startup ConfigureServices of the WebApp...
The "hosting" is an IHostingEnvironment Dependency Injection in the Startup class.
You would obviously need to change "ViewComponentLibrary" to whatever you named your own Razor Class Library. Now, when you make changes they are shown without rebuilding the solution.