Bifrost icon indicating copy to clipboard operation
Bifrost copied to clipboard

Documentation - Getting Started

Open Cnordbo opened this issue 6 years ago • 2 comments

Description

Documentation should contain a working guide on how to get this set up - The "Getting started" video on Vimeo seems outdated as setting the project up as described brings in errors about Owin context in /Bifrost/Application. And the Getting Started guide (DIY version) brings up the same error.

The documentation also misrepresents the project as its mapping to HumanResourced/Employees somewhere instead of Features/Employees

  • Its also missing where to define the viewmodel in javascript.

Environment

  • NA
  • NA
  • .NET Framework 4.6.1

Steps to recreate

  1. Try following this guide past "Frontend" section: http://www.dolittle.io/bifrost/Tutorials/end_to_end.html

Current behavior

Error:

[EntryPointNotFoundException: The following errors occurred while attempting to load the app.
 - No assembly found containing an OwinStartupAttribute.
 - No assembly found containing a Startup or [AssemblyName].Startup class.
To disable OWIN startup discovery, add the appSetting owin:AutomaticAppStartup with a value of "false" in your web.config.
To specify the OWIN startup Assembly, Class, or Method, add the appSetting owin:AppStartup with the fully qualified startup class or configuration method name in your web.config.]
   Microsoft.Owin.Host.SystemWeb.OwinBuilder.GetAppStartup() +357
   Microsoft.Owin.Host.SystemWeb.OwinHttpModule.InitializeBlueprint() +28
   System.Threading.LazyInitializer.EnsureInitializedCore(T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) +115
   Microsoft.Owin.Host.SystemWeb.OwinHttpModule.Init(HttpApplication context) +106
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +536
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +173
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296

Expected behavior

Project runs

Cnordbo avatar Sep 01 '17 14:09 Cnordbo

+1

andersnygaard avatar Sep 04 '17 12:09 andersnygaard

Sorry about slow answer. We're in the midst of moving over to doLittle: https://github.com/dolittle/home

http://www.dolittle.io

I'll get back to you when we have a working end to end sample there.

einari avatar Sep 19 '17 06:09 einari