what is the benefit of using webjob sdk in creating web job - azure-webjobs

I would like to know what is the real benefit of using azure web job sdk in web job.
I have some business logic to be executed without any interaction with storage,service bus.It is interacting with Sharepoint and Azure Sql. I have checked question here -Basic of Azure WebJobs SDK
which says JobHostConfiguration is not required for the job.
In which cases the JobHostConfiguration and webjobs sdk will be required and why we should use that?

WebJobs 3.x targets .NET Standard 2.0. This means you can use it from a .NET Framework application or a .NET Core 2.x application, the choice is up to you. If you want to make a .NET Framework application that uses WebJobs, then follow the same guide but with a .NET Framework console app as the starting point (instead of .NET Core).
If you're planning on deploying this webjob to a webapp that is running a .NET Framework application, I think it makes sense to use .NET framework for the webjob too.
You can refer here for more details on Webjobs Host.
Webjob SDK Version 2.x
The JobHostConfiguration class has a UseDevelopmentSettings method that enables development mode. The following example shows how to use development settings. To make config.IsDevelopment return true when it runs locally, set a local environment variable named AzureWebJobsEnv with the value Development.
Please let me know if this helps.

Related

.NET core console app in Framework AppService

Can I deploy a .Net Core 6 based Console app as Webjob in a Azure app service with .Net framework teck stack ?
Visual Studio 2022 support .NET 6.0.
Visual studio 2022 version 17.0 required to develop .Net 6.0 console application.
The net6.0 Target Framework Moniker (TFM) provides access to all of.cross-platform NET's APIs.
If you're developing console apps, ASP.NET Core apps, or reusable cross-platform frameworks, this is the best solution.
Steps
Creating the Web Job
create a “Run.Cmd” file and add , _dotnet AzureWebJob.dll_ to it.
run _dotnet publish -c release_
Deploying the Web Job
In the Azure Portal =>Your App = > select “WebJobs”= > Add web Job and save
Please refer Create Web job using .NET 6 and MS Doc for more information

Can an Azure Web App consist exclusively of azure web jobs

I am working on a solution that requires many continuously running web jobs. I don't want to package these with any of the Web Apps that are part of our product for reasons of isolation and performance.
I guess some Azure Dev Ops work is involved, but my question is do I have to create Web app with no code, like a Weather Forecast type of project in order to deploy my web jobs.
You are correct. Azure does not have any standalone resource for webjobs. You can create an empty webapp and use that to host your webjobs. Or, you can check out Azure Function app which is quite similar to web jobs as it also utilizes WebJobs SDK but have some additional features as well as constrains. Chris has explained more in details in his answer.

Is it possible to use ionic Capacitor with a Django application?

I have a Django application that loads a React app on a child page. Is it possible to use the ionic Capacitor with this setup?
Yes, you can. Ionic allows you to build iOS, Android and web apps with a single codebase, and Capacitor enables access between your application and the device the application is running on. Therefore, you can build either a web or mobile application that consumes your Django APIs, similar to what your React app is currently doing. You can learn more at https://capacitor.ionicframework.com.

Tooling for setting up continuous delivery for ASP .net MVC website with Java based backend on VMWare

I'm looking to change deployment into DevOps (continuous delivery).
I get different technologies from Devs and Ops in the organization:
(Ops) Microsoft Deployment Toolkit
(Dev) Desired State Configuration
(Dev) Release Management for TFS
Which of these technologies work well together?
Does anybody have experience setting up continuous delivery for ASP .net MVC website with Java based backend on VMWare?
Can we keep on using TeamCity as Build Server?
Kind regards,
AllWorkNoPlay
Consider using CloudMunch for this. CloudMunch supports Microsoft stack, VMWare, and Java stacks as well.
Disclaimer: I work at CloudMunch

webservice application in Demandware

I need to develope WAS application and should be hosted into Demandware platform. Can i develop the WAS application using tomcat and can host it into the Demandware or should WAS application be developed in the Demandware platform?
I am new to Demanware platform and WAS. Guide me.
You cannot build a web service outside of the UX Studio paradigm like what you described, but you can build a psuedo-service like pipeline in UX Studio that returns JSON, XML, etc. and it will work more or less just like any other REST service.
Demandware is Software as a Service (SaaS) provider, which will not allow you to access the underlying infrastructure (e.g. Tomcat server, Oracle DB, etc.) to make/install your custom extensions.
UPDATE (25.09.2015):
Currently Demandware are making extensions to their controllers, migrating from pipeleine-based controllers to script based ones. Chances are that at some point they may even introduce an API for creating web-services.
Until this happens, your only option is to make some custom pipelines and utilize something like XML/JSON over HTTP for this type of functionality. (Or if you insist on having it as SOAP based service, you would need to parse the SOAP envelopes with explicit code)
Demandware platform is a proprietary technology which allows developing only using their sandboxes and own IDE "UX Studio". All this stuff is available for demandware developers on their xchange portal. Access there could be requested by a merchant you do a development for.
Demandware has the core framework is closed to third parties and is exposed via the Demandware script and REST API's as well as Demandware's own Pipelet system.
Sadly you can't deploy external application in Demandware server, we have to separately create new app in UX studio
You can get the proper help on Demandware Wiki or on Exchange