I'm in the same case.
When a new release is out (for nuget + aspnetzero Template) :
and voila ... in conclusion, there is no magic solution.
note : wait for the 0.9.2 version, there is some bug on 0.9.1.1 :)
making a new branch for every new version will be a nightmare in TFS, but it's up to you :) Good branch : (following the correct order of publishing dev->test->acc->prod)
Download hangfire project example from official hangfire website.
It has multiple example : console, Windows service, ...
for example, abp implementation in hangfire console :
(which is just hangfire official example encapsulated in abpboostrapper :) ) (nb I use nlog, change it to your log provider)
class Program
{
static void Main()
{
//Bootstrapping ABP system
using (var bootstrapper = new AbpBootstrapper())
{
IocManager.Instance.IocContainer.AddFacility<LoggingFacility>(f => f.UseNLog().WithConfig("NLog.config"));
bootstrapper.Initialize();
LogProvider.SetCurrentLogProvider(new ColouredConsoleLogProvider());
const string endpoint = "http://localhost:12345";
using (WebApp.Start<Startup>(endpoint))
{
Console.WriteLine();
Console.WriteLine("{0} Hangfire Server started.", DateTime.Now);
Console.WriteLine("{0} Dashboard is available at {1}/hangfire", DateTime.Now, endpoint);
Console.WriteLine();
Console.WriteLine("{0} Type JOB to add a background job.", DateTime.Now);
Console.WriteLine("{0} Press ENTER to exit...", DateTime.Now);
string command;
while ((command = Console.ReadLine()) != String.Empty)
{
if ("job".Equals(command, StringComparison.OrdinalIgnoreCase))
{
BackgroundJob.Enqueue(() => Console.WriteLine("{0} Background job completed successfully!", DateTime.Now.ToString()));
}
}
}
}
}
}
Re hello there ;)
After some tests, ALWAYS with [AbpApiAuthorize]n here some results
With postman : <a class="postlink" href="http://localhost:6235/odata">http://localhost:6235/odata</a> : $metadata retrieved for abpodataentitycontroller <a class="postlink" href="http://localhost:6235/odata/Persons">http://localhost:6235/odata/Persons</a> : access denied
from excel, giving this url as oData flux: <a class="postlink" href="http://localhost:6235/odata">http://localhost:6235/odata</a> : access granted to Persons table data (& all other data) <a class="postlink" href="http://localhost:6235/odata/Persons">http://localhost:6235/odata/Persons</a> : access denied (but if i can access it via the url just on previous line, it does not help us :mrgreen: )
and the following method to authentificate
Is it planned on your side ton investigate further on this ?
it will be necessary for me in few weeks. :cry:
I could provide an excel 2016 proplus account (365, in english) to test it, if necessary and a fee if not planned on your side :)
Thks for your help ;)
Is it a possibility to integrate secure access atribute for odata soon ?
Thanks ;)
It was resolved with 0.8.1 (<a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/864">https://github.com/aspnetboilerplate/as ... issues/864</a> ) did you get the latest nuget version ? ;)
Works like a charm !
thanks for the help ;)
Had the same stuff for weeks ... I was going to throw my computer out of the window :lol:
Thanks for the investigation ;)
For executing SP with user defined tables, i use this package on sql server. <a class="postlink" href="https://github.com/Fodsuk/EntityFrameworkExtras">https://github.com/Fodsuk/EntityFrameworkExtras</a> #446@d867302f-819f-44ef-9a53-cebedb5ada2e
I've investigated the ODATA sample (on github); using Power BI Tools from Microsoft Office.
Using ODATA v4 with powerview/powerpivot allow us to make great reports with excel.
I'll look more into this on next month.
Sampath, maybe you could see if it fits your needs.