Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
Is there a way to export JSon Templates From Existing Azure Objets,
with C# .Net or Python?
The description of a resource group can be got from PowerShell
There is very likey a REST Api behind that can be called with any http client, but PowerShell can be called in C#
Get-AzureRmResourceGroupDeployment -ResourceGroupName my-resource-group
# preceded by Login-AzureRMAccount or storage of credentials in a certificate local to the computer
Then from the PowerShell object, you 'll get a TemplateLink property that points to the JSon resource description.
Note : the Json resource description has many parameters that need to be provided, so multiple resources can be deployed from the same templates, with different names, different locations, ...
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Excuse me I have a problem with Connecting Kentico Database I want to insert data to Kentico Database. What api for do it ? and how to i do it ? . Give a Doccument[link] or sample code for me please .
i will try to use api ITableManager,DatabaseHelper,ITableManager Properties. but i don't know about it
Sir, you haven't shown any effort trying to resolve your issue. Please read the documentation first.
Plus, there are API Examples directly in the Kentico UI which you can have a look at. They demonstrate the basic (CRUD) operations with objects and documents.
Basically, to work with documents use DocumentHelper / TreeProvider (DocumentHelper.InsertDocument(...)). To work with other objects use *InfoProvider (e.g. UserInfoProvider.SetUserInfo(...)).
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I 'm devleloping web application using .NET. Here i m facing 1 issue.I want to get value from global resource file in external .js file. If any one knows the solution can help me.,
Thanks in advance
Jey
Just as an solution, you can make web service on web application side, that will return localization value for key in request. And then you can get it via Ajax from your external js file.
Or other way is to generate needed localization values as javascript variables during page rendering, and then you can use it in the same page.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have a solution that has two projects, Windows Forms and Web API. I need to pass some data that I've collected in windows form to Web API, is it possible using dll, if so how?
How can I start the Windows Forms from the Web API?
thk
the concept of DLL File is to link your program with a shared library that has its functions, methods, etc. to be reused with your piece of code..
You can't really pass "Data" through a DLL file, however, the simplest way to pass simple data from one program to another is using Input/Output files, you can just Write your data in a text file with the first Program (in this case the Windows Form) and read it with the second one (the Web API)
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 9 years ago.
Improve this question
I want to fetch images from a Drupal DB to a C# program.
In Drupal DB the image path is:
"public://yourimage.jpg"
However, this is not a usable URI for C#.
How can I get images from Drupal to C# in a secure way?
If you are going to fetch the images from a database, the URL is not important, what you need to know is if the image is in the database and in wich tabel, and if images are stores in file system, in which table is the path. Then, use plain Ado.Net to get those images.
If instead you want to fetch images from the web, then you'll need to build some kind of grabber. Maybe CsQuery project can help you in that..
https://github.com/jamietre/CsQuery
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 have a scenario in my current application where I want to fetch the Gmail id's of my users.
Could anyone tell me the way with piece of code in C#?
Note: I am developing a web-base application in asp.net with C#.
Use the google contacts api there are C# sample there.
You can use the Google Accounts API.
You can find an example here.
Take a look at the open source .Net library gmailapi.The GmailAgent has a GetContacts method for retrieving all the contacts.