dynamic netcore pass