Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Im having abit of an issue with C# / asp.net website development - i need to have some parts of my site to be handling logic and calculations which i would like to seperate from a compiling word - just like if i had it in PHP i can on the fly edit textfiles and instant have a result, whereas with asp.net i need to get the whole compiler environment up running to change code and restart server etc.
What model could be suggested to pull parts out in something that serverside can be edited on the fly with no visual studio up running ? I was thinking something like python or combined with php maybe ? But not sure how that actually works i would like not to work with this layer through visual studio.
What would be the way on asp.net ?
You can try ASP.NET inline expressions in the .NET Framework
With this, you can build inline code in aspx file, and the code block will be execute during page rendering
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Is there any way to deploy machine Learning model written in R language as a webservice, I know we have Flask in python and many more too, but didnt come across for any such library for R Machine learning code.
As others suggested, you can use R-Shiny to build an app which you can later deploy as a web service easily. Moreover, you can use html code inside shiny so you can customise your layout to your heart's content. If you are using RStudio (which I definitely encourage if you don't), you only need to select File > New File > Shiny Web App... Have a look at documentation and examples here.
However, if you only want to create a compact and fast web service without having to build a layout etc, I would suggest you use R plumber library. This is a good solution if you don't need anything too fancy and also is easily implementable by adding decorators to your current code.
Hope this helps!
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I created a webpage with html5/css and some javascript (jquery). Now i want to extend my page with some functionality (server side ways), but i dont want to use php. I searched for an alternative and found node.js, now i want to use it.
But honestly i dont unterstand how it works (in the context to extend my page, i do unterstand javascript). I began to read some tutorials, but they always start explaining stuff to build a website with node.js (from scratch), but i want to extend my already existing site with some functionality (forum, maybe cms) and dont want to build the page from scratch.
I ordered some days ago a book about node.js, but i'm curious, sry for that.
I'd very appreciate if you could help me. I'm also grateful for some links, etc. :)
Cheers,
Sven
The thing about node.js is it's used to write servers. What this means is that you have to handle receiving requests from browsers and sending responses back for every. single. page. This is why tutorials on node.js start from scratch, because you can't just add node.js on to a webpage (like you can with php). node.js is like the backbone of your website, not some server side augmentation.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am having an requirement to add a project into the existing one. Existing one is MVC 4.0 and using Dot net framework 4.5 application and is using DBML (Linq to SQL classes). The one which I want to add is using EDMX in Dot net Framework 4.0.Edmx is also of lower version. Versioning problem is solved by explicitly defining in Web.Config File. But the thing is both of the projects are building successfully but throwing exception at run time and the exception is ::
Schema specified is not valid. Errors:
App_Code.Model.csdl(3,4) : error 0019: The EntityContainer name must be unique. An EntityContainer with the name 'calendarEntities' is already defined.
and this is coming for every controller where it is being used.
Please help me As I am not clear with how to get rid off this error.
Just because there are specific instances where different versions can be supported, when used incorrectly trying to make mismatched versions of things can lead to what is essentially an unsupported project. This is because mismatched version configurations are not extensively tested and even if you were to call Microsoft support the first thing that they would tell you is to upgrade all of your projects to the same version of the runtime. So that is what I would recommend and if you have a specific issue please post the code and enough of the error so that help can be provided.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm an asp.net developer, but I haven't found a good workflow for deployment. Especially for small quick fixes that might not even require compiling.
The way I work now is to have two VS instances up while copy pasting a lot of code and files between the project and the folder on the IIS server. Is there an automated process that moves changes as I save in the VS project?
Generally speaking, what you are doing is a pretty big no no for a lot of reasons.
When you make changes one of the big advantages ASP.Net has over something like PHP is simply that obvious problems (like misspelling a variable name) are caught during the build phase. This is a huge benefit.
Next, if you are simply modifying a file and copying it's content to the server then it sounds like you are doing your testing in production instead of leveraging your local debugger. Again, very bad practice.
Finally, VS includes a publish command. The purpose of this is to compile and publish your site to the server. It can do so through the regular file system, FTP, web deployment packages or even FPSE. That last one is NOT recommended and is probably kept for backwards compatibility only.
Point is, develop and test locally. When your ready for it to go to the server, use the publish command.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I want to develop an ERP system, but I want it to run on a web browser. I want it to store data in an SQLite database, but I don't want it to have to work as client/server, just local.
I also want to have access to environment variables and the filesystem. Ultimately I want to manipulate the DOM using C instead of JavaScript.
Is there a browser, framework or library for this?
As far as I know, it's impossible to manipulate the DOM with any language other than JavaScript - since that is the only programming language which the browser will run.
I would try to think of one of the following:
1) Run a local web server - why shouldn't you? I am not sure about C, but Python, Ruby, JS and many other languages make these extremely simple to set up.
2) Just write a GUI application, if you are really opposed to having another program running in the network.
3) If you're not opposed to Python (instead of C), you can try out Pyjamas - a framework which allows you to code a web-app in Python, and use it as a desktop app later (without running the server). The non-server version won't actually run inside a browser though (AFAIK - I've never tried it myself).