Hello everyone and thank you for reading this. I am not sure where to post this issue so ill start here, feel free to direct me to the appropriate place to post this.
I have been looking into the Partner SDK sample (Github & Microsoft Docs) and I don't seem to find a specific scenario, I want to get the same data that the reconciliation file has on the CSP portal but in code (c#), the fields are the ones described HERE.
I have gone through the sample scenario's but couldn't find anything close to what I need. Can someone advise me where or what to look for? Thank you very much!
Kind regards!
The reconciliation files contain with two parts: "Summary" and "Daily Usage". All of them can be obtained by "Get invoice line items":
"Summary" - ../v1/invoices/{invoice-id}/lineitems/{provider}/BillingLineItems
"Daily Usage" - ../v1/invoices/{invoice-id}/lineitems/{provider}/UsageLineItems
https://learn.microsoft.com/en-us/partner-center/develop/get-invoiceline-items
So i have been trough the code more profoundly and have found what i was looking for (at least for now). I have created a combination of multiple functions and a custom export to csv (which fitted my needs).
Kind regards
Related
I'm a newbie in Orchard development, and I'm now about to write my first module for it.
my requirements will contain a multi-page path in order for the user to complete the order.
1- search for your desired number
2- search results (pick your number).
3- enter your info
4- thank you (log this order)
I don't want someone to do my work, but I need to know where to start, and how to manage my assets, and the most important, is how will I be able to manage the user interaction wit my form.
many many thanks, hope to hear from you.
Update: This has not been finalized yet, as all of the resources I've checked couldn't answer my question.
what I need to achieve here is something like a wizard. some steps depending on user inputs. but all the samples was a one-page module with administration page or something.
please help.
The best explanation for building a module that I have seen is on www.Pluralsight.com. The content is not free but depending on your situation it may be worth the cost.
Advanced Orchard by Kevin Kuebler
Orchard Fundamentals by Kevin Kuebler
Some day the professor tells to me that he want to do a website that needs much data, and he wants me to do the copy and the stick that we should bring the links's content to the Excel, but it's too much.
So I need to to do a program (C#) that it could catch the Html's links what I want and export them to an Excel document.
If somebody knows a little about it, please tell me some ideas. Because It's my first time to do the work, and I don't have the ideas to do preparation.
Just tell me what I must learn. Just take several minutes for my work which takes too much. Thank you too much!
Although there are many ways to access the page itself: WebClient, or HttpWebRequest/HttpWebResponse if you need something more complex. I believe that using Regular expressions to parse the pages(once you get them) and retrieve the links is definetly the way to go.
The term you should look for is web scraping. Very easy to do using simple C# code like this. Also writing the excel file (example) is something very easy to find searching for it on Google.
Requirement is that i want to identify that the text written in PDF or Doc is english or non english. if i got a single word of (turiskh, french,arabic and etc.) have to avoid the whole documnet
its urgent plz give me sample code for this functionality
Have a look on Google Translate API, only free service who could do this for you what I know. Otherwise I can only see the solution of having your own dictionary etc.. But thats a different story
I guess you could use LangId. However there are some restrictions:
To use our API in live websites or services we suggest you to apply for a free API key, using the below form. The API key expands your developing possibilities allowing you to do up till 1,000 requests per hour (~720,000 per month).
I don't think this will solve your 'single word' issue however. I believe if the text has 6 words English and 4 words in another language it will see the text as English since that language is mainly used in the file. I haven't looked at the API myself though so there might be some solutions for that.
Hope it is of use to you.
Maybe the detect function of Google's Translate API could help you:
http://code.google.com/apis/language/translate/v2/getting_started.html#language_detect
This is not possible for single words.
Is "the" an English word? Well, yes, but it's also a Danish word (meaning tea). Does the word Schadenfreude indicate a non-english text? Not necessarily, it all depends on the context.
Adding to the list of APIs that support language determination, Bing API has a call that will determine the language for an array of strings.
http://msdn.microsoft.com/en-us/library/ff512412.aspx
Hope this helps somewhat.
Ive seen people using the google maps interface for their own maps. Does anyone know if this is legal and how to do this?
Thanks in advance!
This is perfectly legal. Google even exposes an API for this.
You can also find a tutorial here: link.
It is legal (and encouraged!)
The main limitation is that the application using Google Maps must be freely available. If you want to use them in a for-pay application, you have to pay for a license. See the collection of FAQs following on from here: http://code.google.com/apis/maps/faq.html#tos_commercial
Google code playground is a good place to start learning
http://code.google.com/apis/ajax/playground/#map_simple_v3
Does anyone know what are the codes in writing and reading of data in the Mifare 1K card?? we uses c#.
from DreamInCode, check the comment by Goethals:
"Pretty hard to find some decent
documentation on Smardcards isn't it?
Had some rough time trying to get it
work too some time ago. (Did not get
it to work completely yet, ran out of
time)
The best way i found as of yet is to
invoke the Winscard.dll api.
The following articles contain some
valuable information on how to:
http://www.aspfree.com/c/a/.NET/Smart-Cards-in-.NET/
http://www.aspfree.com/c/a/C-Sharp/Smart-C...in-.NET-Part-2/
http://www.aspfree.com/c/a/.NET/Smart-Cards-in-NET-Part-3/
Its C#, but that should not be a big
problem.
Some random info from the following
blog helped me too: (Contains
explenation for some of the error
codes.)
https://github.com/geersch/MonitoringSmartcardReader
On the MSDN website, there is also
some information regarding
Winscard.dll. (Do a search on Smard
Card or SCard, you should find some
articles.)
I also found some documentation on the
website of OmniKey. (The manifacturer
of the Smard Card Reader I am using.)
http://www.omnikey.com/index.php?id=68
The omnikey website is often down
though.
Hope this helps you out a bit. Cheers!
"
also you can check out (this in C) the RFID C Library
I've also just found out that mathias4u has developed a ACR122 plug-in that supports the mifare 1k, you can download it here
I hope that helps! :)